ARM: shmobile: dts: Update console parameters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 13 patches 0 repliesNew
1 of 13 patches is in this archive. The cover letter announces 13.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 5/13 | ARM: shmobile: genmai dts: Update console parameters | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] ARM: shmobile: dts: Update console parameters
Quoted 20 lines · Geert Uytterhoeven
Hi Simon, Magnus,
This patch series updates the console parameters in the DTSes for various Renesas ARM boards.
- For all of them, the serial port config is added to chosen/stdout-path, as per current best practices,
- On some boards (armadillo, bockw, kzm9d, kzm9g), "console=" parameters are removed from the kernel command lines, as they're no longer needed for DT-only platforms,
- On some boards (genmai, kzm9g), the console alias is changed to "serial0", for consistency with other boards (the first serial port is always called "serial0", unless labeled otherwise); this does mean the device changes its name to/dev/ttySC0in userspace, which also happened on R-Car Gen2 before,
- On kzm9d, a console alias is added.Tested on r8a73a4/ape6evm, r8a7740/armadillo, r8a7778/bockw, r8a7779/marzen, r8a7791/koelsch, and sh73a0/kzm9g.
Quoted 6 lines
Thanks for applying!
Geert Uytterhoeven (13):
ARM: shmobile: alt dts: Add serial port config to chosen/stdout-path
ARM: shmobile: ape6evm dts: Add serial port config to
chosen/stdout-path
alt and ape6evm tested ok.
I have queued up the changes for those boards.
Quoted 1 line
ARM: shmobile: armadillo800eva dts: Update console parameters
I would prefer not to take the serial1 -> serial0 portion of this change at this time as it causes a user-space visible change: the console moves from ttySC1 to ttySC0. I noticed this because I no longer made it all the way to user-space which was expecting a console on ttySC1.
-- start before --
[ 0.050000] e6c50000.serial: ttySC1 at MMIO 0xe6c50000 (irq = 25, base_baud = 0) is a scifa [ 0.780000] console [ttySC1] enabled
-- end before --
-- start after --
[ 0.050000] e6c50000.serial: ttySC0 at MMIO 0xe6c50000 (irq = 25, base_baud = 0) is a scifa [ 0.780000] console [ttySC0] enabled
-- end after --
Quoted 1 line
ARM: shmobile: bockw dts: Update console parameters
bockw tested ok.
I have queued up the change for that board.
Quoted 1 line
ARM: shmobile: genmai dts: Update console parameters
As per my remarks regarding the armadillo800eva I would prefer not to make the serial2 -> serial0 portion of this change.
As a bonus the serial2 -> serial0 portion of this change seems to prevent console output during boot too. I've posted some debuging using earlyprintk in reply to this patch in case its useful.
Quoted 3 lines
ARM: shmobile: gose dts: Add serial port config to chosen/stdout-path
ARM: shmobile: koelsch dts: Add serial port config to
chosen/stdout-path
gose and koelsch tested ok.
I have queued up the change for those boards.
Quoted 1 line
ARM: shmobile: kzm9d dts: Update console parameters
I am wary of the new serial1 alias.
Have you checked to see if there is any user-space visible change as a result of this?
Quoted 1 line
ARM: shmobile: kzm9g dts: Update console parameters
As per my remarks regarding the armadillo800eva I would prefer not to make the serial4 -> serial0 portion of this change.
Quoted 1 line
ARM: shmobile: lager dts: Add serial port config to chosen/stdout-path
lager tested ok.
I have queued up the change for this board.
Quoted 2 lines
ARM: shmobile: marzen dts: Add serial port config to
chosen/stdout-path
Changing &scif2 to serial0 creates a user-space visible change:
the console moves from ttySC2 to ttySC0.
I'm unsure how we can update to use the new syntax without encountering this problem.
Quoted 3 lines
ARM: shmobile: porter dts: Add serial port config to
chosen/stdout-path
ARM: shmobile: silk dts: Add serial port config to chosen/stdout-path
I'm unable to test porter and silk but they look ok to me. I have queued up the changes for those boards.