console= cmdline options on the RPi2 should be moved from uboot.env to cmdline.txt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There is a lot of online documentation to set up different hats (addon boards) on a RPi2 ... some of them use the serial port and have instructions how to disable the serial console by dropping "console=ttyAMA0" from the cmdline.txt file.
Snappy currently sets the console= options from a uboot var that is set in uboot.env instead:
(RaspberryPi2)
mmcargs=setenv bootargs "${args} console=tty0 console=ttyAMA0 root=${mmcroot}"
to drop the serial console option you would have to:
(RaspberryPi2)
(RaspberryPi2)
mmcargs=setenv bootargs "${args} console=tty0 root=${mmcroot}"
while this is as easy as editing a text file it will be hard to find for users trying to follow online docs that point to cmdline.txt instead.
all console= options should be moved over to not add confusion over third party documentation.
description: | updated |
Changed in snappy: | |
assignee: | Oliver Grawert (ogra) → nobody |
Ideally, we need to find a *safe* way for the gadget snap to do what's
needed here. We want to avoid any manual editing of files at all. Instead:
* there's a declarative format in the gadget snap which covers
everything needed
* there's some *safe* way for the system to adapt to that declaration