Commit e5b42f45 authored by Anton Midyukov's avatar Anton Midyukov

uboot: Use BASE_BOOTARGS

parent 222a8402
...@@ -9,5 +9,4 @@ endif ...@@ -9,5 +9,4 @@ endif
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY) use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
@$(call add_feature) @$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools) @$(call add,THE_LISTS,singleboard-tools)
@$(call try,TTY_DEV,tty1) @$(call add,BASE_BOOTARGS,cma=192M)
@$(call xport,TTY_DEV)
#!/bin/sh #!/bin/sh
if [ -n "$GLOBAL_TTY_RATE" ] ;then TTY=
TTY="$GLOBAL_TTY_DEV","$GLOBAL_TTY_RATE" echo $GLOBAL_BASE_BOOTARGS | grep console= ||
else TTY='console=tty1'
TTY="$GLOBAL_TTY_DEV"
fi
# installkernel relies on existing extlinux.conf # installkernel relies on existing extlinux.conf
# with filled in `default' label # with filled in `default' label
...@@ -19,5 +17,5 @@ label linux ...@@ -19,5 +17,5 @@ label linux
kernel /boot/vmlinuz kernel /boot/vmlinuz
initrd /boot/initrd.img initrd /boot/initrd.img
fdtdir /boot/dtb fdtdir /boot/dtb
append root=LABEL=ROOT ro cma=192M console=$TTY append root=LABEL=ROOT ro $TTY $GLOBAL_BASE_BOOTARGS
EOF EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment