rpi: tizen-boot: enable runtime customisation of bootargs with ${opts} 16/151616/4 accepted/tizen/4.0/unified/20170927.181939 accepted/tizen/unified/20170927.181409 submit/tizen/20170927.093519 submit/tizen_4.0/20170927.093628 tizen_4.0.IoT.p1_release
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 21 Sep 2017 08:20:38 +0000 (10:20 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 25 Sep 2017 13:10:40 +0000 (13:10 +0000)
Facilitate development of kernel and low level system components, by
making it easier for developers to add kernel command line arguments
via the ${opts} u-boot environment variable.

Change-Id: I4883cc5d29e4edaaa9ed17a3801808672ad66661
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
board/raspberrypi/rpi/tizen-boot.scr

index 27e1f0ad14ea592f416340c45bcf2faed7c6301a..53d9cc564878ea1d3a45166bcb6214de9b97f528 100644 (file)
@@ -55,7 +55,7 @@ setenv fdtfile \"bcm2710-rpi-3-b.dtb\"
 setenv boot_prefixes \"/\"
 
 # To use comdline for using serial console. /* Normal mode */
-setenv bootargs \"8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2709.serial=0xed6687d3 bcm2709.uart_clock=48000000 smsc95xx.macaddr=${ethaddr} root=/dev/${rootdev} rw bootmode=${bootmode} bcm2709.boardrev=0xa02082 rootwait earlyprintk console=ttyS0,115200n8 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000\"
+setenv bootargs \"8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2709.serial=0xed6687d3 bcm2709.uart_clock=48000000 smsc95xx.macaddr=${ethaddr} root=/dev/${rootdev} rw bootmode=${bootmode} bcm2709.boardrev=0xa02082 rootwait earlyprintk console=ttyS0,115200n8 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 ${opts}\"
 
 # Find the ramdisk offset and block count
 part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start