rpi: tizen-boot: enable runtime customisation of bootargs with ${opts}
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 21 Sep 2017 08:20:38 +0000 (10:20 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 01:39:02 +0000 (10:39 +0900)
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 27e1f0a..53d9cc5 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