Hi everyone,
I'm trying to port the Main_MiSTer project to other ARM core(Raspberry Pi Zero W). I met some compile issue for below two variables in video.cpp.
extern uint8_t _binary_logo_png_start[], _binary_logo_png_end[];
I searched all the project files and found nothing. Could anyone please help tell me where are these two variables located? Which file? Thank you so much!
Porting Main_MiSTer to other ARM core
-
- Posts: 32
- Joined: Tue Aug 25, 2020 3:10 pm
- Has thanked: 1 time
- Been thanked: 6 times
Re: Porting Main_MiSTer to other ARM core
From what i gather, those are only symbols in object files generated from *.png files.
See https://github.com/MiSTer-devel/Main_Mi ... le#L77-L79
See https://github.com/MiSTer-devel/Main_Mi ... le#L77-L79
Re: Porting Main_MiSTer to other ARM core
I have to ask: why do you want to run Main_Mister on another device?
-
- Top Contributor
- Posts: 531
- Joined: Tue May 26, 2020 5:06 am
- Has thanked: 87 times
- Been thanked: 211 times
Re: Porting Main_MiSTer to other ARM core
Wondering that myself - Without the FPGA it won't even be abe to even draw the OSD...
-
- Core Developer
- Posts: 48
- Joined: Fri Dec 11, 2020 2:39 pm
- Has thanked: 3 times
- Been thanked: 32 times
Re: Porting Main_MiSTer to other ARM core
I don't get the purpose, too.
Without FPGA and HPS-FPGA bridge on SoC, what can Main_MiSTer do?
Without FPGA and HPS-FPGA bridge on SoC, what can Main_MiSTer do?
Re: Porting Main_MiSTer to other ARM core
This might be the reason : https://twitter.com/topapate/status/136 ... 56450?s=20
But OP will need to confirm.
But OP will need to confirm.
-
- Posts: 32
- Joined: Tue Aug 25, 2020 3:10 pm
- Has thanked: 1 time
- Been thanked: 6 times
Re: Porting Main_MiSTer to other ARM core
5CSEBA6U23 costs around $200. That's why want to throw the De-10 Nano away. In replacement, I'll spend $15 to buy a Raspberry Pi Zero W or another ARM chip with Linux system. And spend less than $100 for Cyclone V 5CEFA7F23(150K LE) or Xilinx XC7A200T.
After I comment these two variables, the Mister Main can running on Raspberry Pi now.
pi@raspberrypi:~$
Minimig by Dennis van Weeren
ARM Controller by Jakub Bednarski
MiSTer code by Sorgelig
Version 000000
Looking for root device...
FileOpenEx(open) File:/media/fat/config/device.bin, error: No such file or directory.
Using SD card as a root device
[1;34mINI_PARSER : Start INI parser for core "".[0m
FileOpenEx(open) File:/media/fat/MiSTer.ini, error: No such file or directory.
Incorrect amount of items in video_mode parameter: 0
Calculate PLL for 74.2500 MHz:
Fvco=445.500000, C=6, M=8, K=0.910000(3908420239) -> Fpix=74.250000
Incorrect amount of items in video_mode parameter: 0
Calculate PLL for 74.2500 MHz:
Fvco=445.500000, C=6, M=8, K=0.910000(3908420239) -> Fpix=74.250000
Incorrect amount of items in video_mode parameter: 0
Calculate PLL for 74.2500 MHz:
Fvco=445.500000, C=6, M=8, K=0.910000(3908420239) -> Fpix=74.250000
FileOpenEx(open) File:/media/fat/config/_gamma.cfg, error: No such file or directory.
FileOpenEx(open) File:/media/fat/gamma/, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/_scaler.cfg, error: No such file or directory.
FileOpenEx(open) File:/media/fat/filters/, error: No such file or directory.
Send HDMI parameters:
video: 1280(1280), 110(110), 40(40), 220(220), 720(720), 5(5), 5(5), 20(20),
PLL: 0x4, 0x404, 0x3, 0x10000, 0x5, 0x303, 0x9, 0x2, 0x8, 0x7, 0x7, 0xE8F5C28F, Fpix=74.250000
sh: 1: cannot create /sys/module/MiSTer_fb/parameters/mode: Directory nonexistent
FileOpenEx(open) File:/media/fat/config/_afilter.cfg, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/Volume.dat, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/_volume.cfg, error: No such file or directory.
sending keymap: 0
Unable to identify core (55)!
sh: 1: uartmode: not found
sh: 1: uartmode: not found
Unable to create UINPUT device.Open up to 30 input devices.
opened 0( 0): /dev/input/event1 (081f:e401) 0 "usb-20980000.usb-1.3/input0" "USB gamepad "
opened 1( 1): /dev/input/event0 (081f:e401) 0 "usb-20980000.usb-1.4/input0" "USB gamepad "
FileOpenEx(open) File:/media/fat/config/inputs/input_081f_e401_v3.map, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/input_081f_e401_v3.map, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/inputs/_input_081f_e401_v3.map, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/_input_081f_e401_v3.map, error: No such file or directory.
After I comment these two variables, the Mister Main can running on Raspberry Pi now.
pi@raspberrypi:~$
Minimig by Dennis van Weeren
ARM Controller by Jakub Bednarski
MiSTer code by Sorgelig
Version 000000
Looking for root device...
FileOpenEx(open) File:/media/fat/config/device.bin, error: No such file or directory.
Using SD card as a root device
[1;34mINI_PARSER : Start INI parser for core "".[0m
FileOpenEx(open) File:/media/fat/MiSTer.ini, error: No such file or directory.
Incorrect amount of items in video_mode parameter: 0
Calculate PLL for 74.2500 MHz:
Fvco=445.500000, C=6, M=8, K=0.910000(3908420239) -> Fpix=74.250000
Incorrect amount of items in video_mode parameter: 0
Calculate PLL for 74.2500 MHz:
Fvco=445.500000, C=6, M=8, K=0.910000(3908420239) -> Fpix=74.250000
Incorrect amount of items in video_mode parameter: 0
Calculate PLL for 74.2500 MHz:
Fvco=445.500000, C=6, M=8, K=0.910000(3908420239) -> Fpix=74.250000
FileOpenEx(open) File:/media/fat/config/_gamma.cfg, error: No such file or directory.
FileOpenEx(open) File:/media/fat/gamma/, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/_scaler.cfg, error: No such file or directory.
FileOpenEx(open) File:/media/fat/filters/, error: No such file or directory.
Send HDMI parameters:
video: 1280(1280), 110(110), 40(40), 220(220), 720(720), 5(5), 5(5), 20(20),
PLL: 0x4, 0x404, 0x3, 0x10000, 0x5, 0x303, 0x9, 0x2, 0x8, 0x7, 0x7, 0xE8F5C28F, Fpix=74.250000
sh: 1: cannot create /sys/module/MiSTer_fb/parameters/mode: Directory nonexistent
FileOpenEx(open) File:/media/fat/config/_afilter.cfg, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/Volume.dat, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/_volume.cfg, error: No such file or directory.
sending keymap: 0
Unable to identify core (55)!
sh: 1: uartmode: not found
sh: 1: uartmode: not found
Unable to create UINPUT device.Open up to 30 input devices.
opened 0( 0): /dev/input/event1 (081f:e401) 0 "usb-20980000.usb-1.3/input0" "USB gamepad "
opened 1( 1): /dev/input/event0 (081f:e401) 0 "usb-20980000.usb-1.4/input0" "USB gamepad "
FileOpenEx(open) File:/media/fat/config/inputs/input_081f_e401_v3.map, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/input_081f_e401_v3.map, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/inputs/_input_081f_e401_v3.map, error: No such file or directory.
FileOpenEx(open) File:/media/fat/config/_input_081f_e401_v3.map, error: No such file or directory.
- Attachments
-
- mister.jpg (373.43 KiB) Viewed 5331 times
Re: Porting Main_MiSTer to other ARM core
Hi andrezheng,
It looks good for your porting. Your meaning is we can combine the cheap Arm board(Raspberry ...) and Pure FPGA board(K7 100AT/200AT ...).
It is a great idea.
It looks good for your porting. Your meaning is we can combine the cheap Arm board(Raspberry ...) and Pure FPGA board(K7 100AT/200AT ...).
It is a great idea.
- amstan
- Posts: 56
- Joined: Sat Feb 12, 2022 8:08 am
- Location: Mountain View, California
- Has thanked: 5 times
- Been thanked: 26 times
- Contact:
Re: Porting Main_MiSTer to other ARM core
Not to mention the faster ARM processor.
You know what would be cool? The a standalone FPGA running MiSTer cores on a motherboard that has a raspberry-pi compute module connected to the FPGA via pcie (for the memory sharing).
You know what would be cool? The a standalone FPGA running MiSTer cores on a motherboard that has a raspberry-pi compute module connected to the FPGA via pcie (for the memory sharing).