void-packages/srcpkgs/cubietruck-uboot/files/cubietruck.bootcmd

10 lines
505 B
Plaintext

setenv bootargs console=tty1 root=/dev/mmcblk0p2 rootwait fb0_framebuffer_num=4 sunxi_fb_mem_reserve=64 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 panic=10 consoleblank=0
# Old method
fatload mmc 0 0x43000000 script.bin || ext2load mmc 0 0x43000000 boot/script.bin
fatload mmc 0 0x48000000 uImage || ext2load mmc 0 0x48000000 uImage boot/uImage
bootm 0x48000000
# New method (one partition)
ext4load mmc 0 0x43000000 boot/script.bin
ext4load mmc 0 0x48000000 boot/zImage
bootz 0x48000000