This is not ready for use yet!!
This will brick your device. You have been warned.
- Does not auto boot, you will need uart to boot up
- Does not launch retroarch to start, you will need to manually do that
- Does not play games yet
- the only way to return to stock is to have "fancy" equipment.
- this has only been tested on the miyoo mini plus, if someone has a miyoo mini and wants to help, please reach out.
- buttons in retroarch do not work yet by default. there's some overlay work that needs to happen
- spiflash does not yet work once you're in linux - so you can't boot a rootfs off of the spiflash
- brightness does not yet work
- Improved power management can be had with the axp223, but not yet configured
- wifi usb is always powered
- better hardware controls within retroarch
make -j2
(sometimes building more than 2 breaks things....)
BE READY TO EXPERIENCE BRICKED DEVICES
There's really a few ways to do this, but if you're coming from stock miyoo stuff - you'll want to get the better uboot
after building:
- cd br2miyoomini/package/upgrade_blob
- ./mxpgenerator_generator.sh
- cp images/miyoo354_fw.img <YOUR_MMC>/miyoo354_fw.img
After you've flashed into the system, you'll be greated with a nice uboot prompt shell
reset
setenv SdUpgradeImage miyoo354_fw.img;sdstar
THIS DOES NOT WORK RIGHT NOW, LOOK AT THE MMC METHOD BELOW
setenv bootargs console=ttyS0,115200 clk_ignore_unused earlyprintk debug root=/dev/mtdblock4 ro rootfstype=squashfs rootwait
i2c dev 0; i2c mw 0x34 0x12.1 0x80; bootlogo 0 0 0 0 0; gpio output 4 1; setenv loadaddr 0x22000000; sf probe 0; sf read ${loadaddr} ${sf_kernel_start} ${sf_kernel_size};bootm ${loadaddr}#midrived06
Only works after getting the initial flash completed, you need the custom uboot
- write the sdcard.img from buildroot/output/images/sdcard.img to your sdcard
- boot to uboot prompt on device
- setenv bootargs console=ttyS0,115200 clk_ignore_unused earlyprintk debug root=/dev/mmcblk0p2 ro rootfstype=squashfs rootwait
- i2c dev 0; i2c mw 0x34 0x12.1 0x80; bootlogo 0 0 0 0 0; gpio output 4 1; setenv loadaddr 0x22000000; fatload mmc 0:1 ${loadaddr} kernel.fit;bootm ${loadaddr}#midrived06