Miyoo
build uboot
目前司徒已經移植完UBoot程式碼,使用者可以使用如下指令編譯:
$ cd $ wget https://github.com/steward-fu/miyoo/releases/download/v1.0/toolchain.7z $ 7za x toolchain.7z $ sudo cp -a miyoo /opt/ $ export PATH=$PATH:/opt/miyoo/bin $ wget https://github.com/steward-fu/miyoo/releases/download/v1.2/uboot.7z $ 7za x uboot.7z $ cd uboot $ make ARCH=arm CROSS_COMPILE=arm-linux- licheepi_nano_spiflash_defconfig $ make ARCH=arm CROSS_COMPILE=arm-linux- clean $ make ARCH=arm CROSS_COMPILE=arm-linux- -j8
開機訊息(115200 bps)
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