掌機 - Miyoo Flip - Build U-Boot



參考資訊:
https://github.com/xboot/xrock
https://opensource.rock-chips.com/wiki_Main_Page
https://sources.buildroot.net/rockchip-rkbin/git/bin/rk35/

編譯步驟:

$ cd
$ git clone https://github.com/steward-fu/miyoo-flip
$ cd miyoo-flip/u-boot/
$ ./make.sh rk3566

燒錄步驟:
1. 進入MASKROM模式
2. 執行如下指令

$ wget https://github.com/steward-fu/website/releases/download/miyoo-flip/rk3566_ddr_1056MHz_v1.18.bin
$ wget https://github.com/steward-fu/website/releases/download/miyoo-flip/rk356x_usbplug_v1.17.bin
$ xrock extra maskrom --rc4 off --sram rk3566_ddr_1056MHz_v1.18.bin --delay 10 --rc4 off --dram rk356x_usbplug_v1.17.bin --delay 10
$ xrock flash write $((0x300000/512)) uboot.img

P.S. 如果寫成Shell Script,xrock指令記得要有sleep間隔