diff options
author | 2016-10-27 11:25:27 +0000 | |
---|---|---|
committer | 2016-10-27 11:25:27 +0000 | |
commit | 4170834d6b4dea5290aab28685aae6f1725e39af (patch) | |
tree | 34296c7a2011f0bf5829091f5e2604900356c963 /meta-sota/recipes-bsp/u-boot-otascript/u-boot-otascript/uEnv.txt | |
parent | e8c4cdb760738388b926290974da732332fc4cf5 (diff) | |
parent | 1b73e59ec2703605ad20ea7b42516cb382a5436a (diff) |
Merge "OSTree-enabled image for raspberry Pi"
Diffstat (limited to 'meta-sota/recipes-bsp/u-boot-otascript/u-boot-otascript/uEnv.txt')
-rw-r--r-- | meta-sota/recipes-bsp/u-boot-otascript/u-boot-otascript/uEnv.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-sota/recipes-bsp/u-boot-otascript/u-boot-otascript/uEnv.txt b/meta-sota/recipes-bsp/u-boot-otascript/u-boot-otascript/uEnv.txt new file mode 100644 index 0000000..f6c0570 --- /dev/null +++ b/meta-sota/recipes-bsp/u-boot-otascript/u-boot-otascript/uEnv.txt @@ -0,0 +1,7 @@ +fdt_addr_r=0x0c800000 +bootcmd_dtb=fdt addr $fdt_addr_r; fdt get value bootargs_fdt /chosen bootargs +bootcmd_otenv=ext2load mmc 0:2 $loadaddr /boot/loader/uEnv.txt; env import -t $loadaddr $filesize +bootcmd_args=setenv bootargs "$bootargs $bootargs_fdt ostree_root=/dev/mmcblk0p2 root=/dev/ram0 rw rootwait rootdelay=2 ramdisk_size=8192" +bootcmd_load=ext2load mmc 0:2 $kernel_addr_r "/boot"$kernel_image; ext2load mmc 0:2 $ramdisk_addr_r "/boot"$ramdisk_image +bootcmd_run=bootm $kernel_addr_r $ramdisk_addr_r $fdt_addr_r +bootcmd=run bootcmd_dtb; run bootcmd_otenv; run bootcmd_args; run bootcmd_load; run bootcmd_run |