Miyoo

Build UBoot


目前司徒已經移植完UBoot程式碼,使用者可以使用如下指令編譯:

$ cd ~/Downloads/
$ git clone https://github.com/steward-fu/f1c500s_uboot
$ cd f1c500s_uboot
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- miyoo_spiflash_defconfig
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- clean
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8

燒錄到SPI Flash

sudo sunxi-fel -p spiflash-write 0 u-boot-sunxi-with-spl.bin

完成

U-Boot SPL 2018.01-gfcaa41c-dirty (Dec 18 2018 - 17:21:52)
DRAM: 32 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI


U-Boot 2018.01-gfcaa41c-dirty (Dec 18 2018 - 17:21:52 +0800) for Miyoo handheld

CPU:   Allwinner F Series (SUNIV)
Model: Miyoo Handheld
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q64cv with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@1c25400
Out:   serial@1c25400
Err:   serial@1c25400
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
SF: Detected w25q64cv with page size 256 Bytes, erase size 4 KiB, total 8 MiB


返回上一頁