http://rockchip.wikidot.com/linux-user-guide
按照說明把u-boot , kernel 都編譯出來了
可是
emmc boot
sd boot
通通失敗 , 都無法讓firefly 進入u-boot
不理解阿??? 高手在哪
Booting from emmc
Writing to the board with USB
For USB to work you must get your board into ROM boot mode, either by erasing
your MMC or holding the recovery button when you boot the board.
rk3288(upgrade_tool)
To create a suitable image and write it to the board:
tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin u-boot-dtb.bin(normal)
tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-nodtb.bin u-boot-dtb.bin(firefly)
sudo upgrade_tool db ../rkbin/rk32/rk3288_boot.bin
sudo upgrade_tool wl 64 u-boot-dtb.bin ------------fail
sudo upgrade_tool wl 256 u-boot.img ---------------fail
sudo upgrade_tool rd
Booting from sdcard
Flash uboot
To write an image that boots from an SD card (assumed to be /dev/sdb)
(u-boot-spl-nodtb.bin for firefly)
tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin out&&
sudo dd if=out of=/dev/sdb seek=64&&sudo dd if=u-boot-dtb.img of=/dev/sdb seek=256
Format sdcard
Enter into the uboot and issue the following command:
(otg should be connected, maskrom should be pressed)
gpt write mmc 0 $partitions
ums 0 mmc 0