Add sun8i target config.

This commit is contained in:
jbnadal
2016-12-06 13:52:36 +01:00
parent dbf4ef647d
commit fec78977ac
63 changed files with 11025 additions and 345 deletions

View 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}