Add sun8i target config.
This commit is contained in:
15
projects/sun8i-h2_domo/uboot/boot.cmd
Normal file
15
projects/sun8i-h2_domo/uboot/boot.cmd
Normal file
@@ -0,0 +1,15 @@
|
||||
gpio set PL10
|
||||
gpio set PG11
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------------
|
||||
setenv machid 1029
|
||||
setenv bootm_boot_mode sec
|
||||
setenv bootargs "console=ttyS0,115200 rootwait cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0"
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------------
|
||||
fatload mmc 0 ${fdt_addr_r} script.bin
|
||||
fatload mmc 0 ${ramdisk_addr_r} rootfs.cpio.uboot
|
||||
fatload mmc 0 ${kernel_addr_r} zImage
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------------
|
||||
bootz ${kernel_addr_r} ${ramdisk_addr_r}
|
||||
Reference in New Issue
Block a user