Raspberry Pi 4Bでは、Raspberry Pi OSとmainlineのLinux Kernelでserial0, serial1の割当が違う

Raspberry Pi 4Bでは、Raspberry Pi OSのmainlineのDeviceTreeは、serial0がシリアルコンソール(mini UART側)になるようになっている。
おそらく、過去のRaspberry Piシリーズと同じようにserial0がシリアルコンソールになるように合わせていると推測。
Rasbperry Pi OSの場合は以下の辺りでその対応付の変更をしている。

https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/bcm2711-rpi-4-b.dts#L250-L288

mainlineの場合は、serial1がシリアルコンソールとなっている。
なお、Rasbperry Piのシリーズによって定義が異なるので、注意して確認したほうが良さそう。

Posted at : 2023-10-15 17:28:55 / Category : none

Comments

test

yasuharu - 2024-04-07 21:54:12

test2

yasuharu - 2024-04-08 14:47:38

test3

yasuharu - 2024-04-08 14:53:16

test4

yasuharu - 2024-04-08 15:15:53

test5

yasuharu - 2024-04-08 15:20:54

Send comment


Name


Mail-address (empty is OK. If you want to notify update, please fill mail-address.)


Bot check code (240427 と入力してください / Please input 240427.)