18 lines
553 B
Batchfile
18 lines
553 B
Batchfile
|
setenv KERNEL_FILE /boot/uvmlinuz
|
||
|
setenv DTB_FILE /boot/u-boot.dtb
|
||
|
setenv INIT_FILE /boot/initrd
|
||
|
|
||
|
setenv KERNEL_ADDR 0x40008000
|
||
|
setenv DTB_ADDR 0x45000000
|
||
|
setenv INIT_ADDR 0x48000000
|
||
|
setenv INIT_ADDR -
|
||
|
|
||
|
ext4load mmc 0:1 ${KERNEL_ADDR} ${KERNEL_FILE}
|
||
|
ext4load mmc 0:1 ${DTB_ADDR} ${DTB_FILE}
|
||
|
#ext4load mmc 0:1 ${INIT_ADDR} ${INIT_FILE}
|
||
|
|
||
|
setenv bootargs console=ttyS0,115200 disp.screen0_output_mode=EDID:1024x768p50 hdmi.audio=EDID:0 root=/dev/mmcblk0p1 rootfstype=ext4 elevator=deadline rootwait
|
||
|
|
||
|
#printenv
|
||
|
bootz ${KERNEL_ADDR} ${INIT_ADDR} ${DTB_ADDR}
|