Code review comment for lp://staging/~manjo/flash-kernel/flash-kernel-ubootvars

Revision history for this message
Manoj Iyer (manjo) wrote :

== adding new uboot env var ==
ubuntu@c1n1:~$ cat /usr/share/flash-kernel/ubootenv.d/default.conf
# Enter default uboot environment variables here

ubuntu@c1n1:~$ cat /etc/flash-kernel/ubootenv.d/ti.conf

setenv mem2_reserve 5120M

ubuntu@c1n1:~$ sudo flash-kernel

ubuntu@c1n1:~$ dd if=/boot/boot.scr of=boot.4.script bs=72 skip=1
13+1 records in
13+1 records out
947 bytes (947 B) copied, 0.00103475 s, 915 kB/s

ubuntu@c1n1:~$ cat boot.4.script
setenv mem2_reserve 5120M
setenv interface scsi
echo Starting Ubuntu...
(more lines follow)

== overriding existing vars ==
ubuntu@c1n1:~$ cat /usr/share/flash-kernel/ubootenv.d/default.conf
# Enter default uboot environment variables here
setenv mem2_reserve 1204M

ubuntu@c1n1:~$ cat /etc/flash-kernel/ubootenv.d/ti.conf

setenv mem2_reserve 5120M

ubuntu@c1n1:~$ sudo flash-kernel

ubuntu@c1n1:~$ dd if=/boot/boot.scr of=boot.4.script bs=72 skip=1
13+1 records in
13+1 records out
947 bytes (947 B) copied, 0.00103502 s, 915 kB/s

ubuntu@c1n1:~$ cat boot.4.script
setenv mem2_reserve 5120M
setenv interface scsi
echo Starting Ubuntu...
(more lines follow)

« Back to merge proposal