Add sun8i target config.
This commit is contained in:
20
projects/sun8i-h2_domo/uboot/dev.cmd
Normal file
20
projects/sun8i-h2_domo/uboot/dev.cmd
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
|
||||
setenv ipaddr 192.168.9.50
|
||||
setenv serverip 192.168.9.174
|
||||
|
||||
# dhcp ${ramdisk_addr_r} rootfs.cpio.uboot
|
||||
tftp ${ramdisk_addr_r} rootfs.cpio.uboot
|
||||
tftp ${kernel_addr_r} zImage
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------------
|
||||
bootz ${kernel_addr_r} ${ramdisk_addr_r}
|
||||
Reference in New Issue
Block a user