arm: ls1021atwr: Convert to driver model and enable serial support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 of 8 patches 0 repliesNew
3 of 8 patches are in this archive. The cover letter announces 8.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/8 | serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig | +0 | 0 replies | |
| 6/8 | serial: lpuart: Prepare the driver for DM conversion | +0 | 1 reply | |
| 7/8 | serial: lpuart: Add driver model serial support | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/8] arm: ls1021atwr: Convert to driver model and enable serial support
Quoted 51 lines · Bin Meng
Hi Alison,
Quoted 27 lines · Huan Wang
Hi, Bin,
Quoted 17 lines · Huan Wang
Quoted 16 lines
Hi, Bin,
Quoted 14 lines · Huan Wang
Quoted 4 lines
Hi,
I tested this set on my LS1021ATWR board. NOR boot using
DUARTas serial output is ok. But NOR boot using LPUART as serial output failed. How about your test result?
Quoted 1 line
Yes, I tested NOR boot using DUART or LPUART. Both boot. I suspect you forgot to update the RCW for LPUART, or change the jumper setting (J19,
J20) to route the LPUART signal.Quoted 8 lines
Quoted 4 lines
[Alison Wang] I updated the RCW for LPUART and changed the jumper setting (J19, J20). Without this set, NOR boot using LPUART is ok. But after adding this set, NOR boot using LPUART failed.
That's strange. Can you please send your build instructions? Did you program the u-boot-dtb.bin (not u-boot.bin anymore) to the NOR?
Quoted 7 lines
[Alison Wang] My build instructions are,
make ARCH=arm
ls1021atwr_nor_lpuart_defconfig
makeYes. I programmed u-boot-dtb.bin to NOR flash.
Oh, it turns out the last thing to suspect is the /chose node :)
See comments in patch#8 in this series
(http://patchwork.ozlabs.org/patch/561859/)chosen {
+ /*
+ * Withls1021atwr_nor_lpuart_defconfigconfiguration,
+ * this needs to be changed to &lpuart0.
+ */
stdout-path = &uart0;
};
Quoted 4 lines
I was wondering whether I should introduce another separate dts file for this LPUART configuration, something like
ls1021a-twr_lpuart.dts, but I felt it's quite some duplication thus I chose to just add some comments under the /chosen node in the original dts file.
How about:ls1021a-twr.dts => ls1021a-twr.dtsi
And include that fromls1021a-twr-uart.dtsls1021a-twr-lpuart.dts
and add the /chosen node to those files.
--
Stefan