From mboxrd@z Thu Jan 1 00:00:00 1970 From: edrose Date: Fri, 29 Nov 2019 09:34:56 -0700 (MST) Subject: [U-Boot] Raspberry Pi Compute Module 1 mini-UART In-Reply-To: <1574852196100-0.post@n7.nabble.com> References: <1574714876353-0.post@n7.nabble.com> <911e6e2b-d5fc-3250-2f92-6bf44f80edc1@gmail.com> <1574852196100-0.post@n7.nabble.com> Message-ID: <1575045296152-0.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I've done some more digging, and have made a bit of progress (I think). After fiddling with the device-tree, I've managed to get the serial port to show up when running `dm tree`. I appended this block to the end of bcm2835-rpi-b.dts: &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_gpio40>; status = "okay"; }; And the relevant output of `dm tree is: Class index Probed Driver Name ----------------------------------------- ... pinconfig 32 [ + ] pinconfig | | |-- uart0_gpio14 ... pinconfig 42 [ ] pinconfig | | |-- uart1_gpio40 ... serial 0 [ + ] bcm283x_pl | |-- serial at 7e201000 serial 1 [ ] serial_bcm | |-- serial at 7e215040 So that indicates that it sees the serial port, knows which driver to use, and has the correct address. However it has not probed the device, nor has it probed the pinconfig that MUXes it to the pin I've set in the dts file. It also appears to have an index , however specifying CONFIG_CONS_INDEX doesn't change the port that is used, nor does it change the output of `dm-tree`. So I'm still a bit stuck. How do I force uboot to use a different (already known) serial port for the console? The drivers are there, it sees the port, it just doesn't want to use it... -- Sent from: http://u-boot.10912.n7.nabble.com/