[U-Boot] [RFC] dm: tegra: boot time regression

Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting slower. With mainline Linux I noticed about a 1 to 2 second increase while booting downstream L4T takes 10 to 15 seconds longer! Git bisecting it revealed the following commit to be at odds:
858530a8c0a7ce7e573e513934804a00d6676813 dm: tegra: Enable driver model for serial
Switching back to not using the DM driver for serial brings it back to booting much faster. However looking closely at the serial stuff and its accompanying settings I could not quite pinpoint why exactly any of this would make the Linux kernel suddenly boot slower.
Has anybody noticed similar issues?

Hi Marcel,
On 21 October 2014 08:37, Marcel Ziswiler marcel@ziswiler.com wrote:
Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting slower. With mainline Linux I noticed about a 1 to 2 second increase while booting downstream L4T takes 10 to 15 seconds longer! Git bisecting it revealed the following commit to be at odds:
858530a8c0a7ce7e573e513934804a00d6676813 dm: tegra: Enable driver model for serial
Switching back to not using the DM driver for serial brings it back to booting much faster. However looking closely at the serial stuff and its accompanying settings I could not quite pinpoint why exactly any of this would make the Linux kernel suddenly boot slower.
Has anybody noticed similar issues?
No I haven't but I have not really tested it. I wonder how U-Boot is affecting Linux boot time? Do you have a trace of the kernel boot?
Regards, Simon

Hi,
On 21 October 2014 17:19, Simon Glass sjg@chromium.org wrote:
Hi Marcel,
On 21 October 2014 08:37, Marcel Ziswiler marcel@ziswiler.com wrote:
Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting slower. With mainline Linux I noticed about a 1 to 2 second increase while booting downstream L4T takes 10 to 15 seconds longer! Git bisecting it revealed the following commit to be at odds:
858530a8c0a7ce7e573e513934804a00d6676813 dm: tegra: Enable driver model for serial
Switching back to not using the DM driver for serial brings it back to booting much faster. However looking closely at the serial stuff and its accompanying settings I could not quite pinpoint why exactly any of this would make the Linux kernel suddenly boot slower.
Has anybody noticed similar issues?
No I haven't but I have not really tested it. I wonder how U-Boot is affecting Linux boot time? Do you have a trace of the kernel boot?
Did this get resolved? Do you have an update please?
Regards, Simon

On Mon, 2014-11-17 at 06:53 +0000, Simon Glass wrote:
Did this get resolved?
No, unfortunately not.
Do you have an update please?
I just retested this and it is still the case all with latest mainline stuff both on the U-Boot as well as the Linux kernel side. Another issue I noticed is that somehow current U-Boot DM serial stuff seems to double space everything?!? Well, anyway. Here the output of straight mainline:
U-Boot SPL 2015.01-rc1-00145-gf196044 (Nov 20 2014 - 09:04:15)
U-Boot 2015.01-rc1-00145-gf196044 (Nov 20 2014 - 09:04:15)
TEGRA30
Board: Toradex Colibri T30
I2C: ready
DRAM: 1 GiB
MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 2 1 0
reading tegra30-colibri-eval-v3.dtb
24225 bytes read in 16 ms (1.4 MiB/s)
reading uImage
4717016 bytes read in 127 ms (35.4 MiB/s)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-3.18.0-rc5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4716952 Bytes = 4.5 MiB
Load Address: 82008000
Entry Point: 82008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Loading Kernel Image ... OK
Using Device Tree in place at 82000000, end 82008ea0
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.18.0-rc5 (zim@localhost.localdomain) (gcc version 4.7.2 20120910 (prerelease) (crosstool-NG linaro-1.13.1-2012.09-20120921 - Linaro GCC 2012.09) ) #1 SMP PREEMPT Thu Nov 20 09:14:47 CET 2014 [ 0.000000] CPU: ARMv7 Processor [412fc099] revision 9 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Toradex Colibri T30 on Colibri Evaluation Board [ 0.000000] cma: Reserved 64 MiB at 0xbb400000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 10 pages/cpu @f67d2000 s8896 r8192 d23872 u40960 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257312 [ 0.000000] Kernel command line: core_edp_mv=1300 usb_high_speed=1 ip=off root=/dev/mmcblk0p2 rw,noatime rootfstype=ext3 rootwait asix_mac=00:14:2d:28:39:fe consoleblank=0 no_console_suspend=1 console=tty1 console=ttyS0,115200n8 debug_uartport=lsport,0 vmalloc=128M mem=1012M@2048M fbmem=12M@3060M video=tegrafb0:640x480-16@60 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 951940K/1036288K available (6447K kernel code, 341K rwdata, 2160K rodata, 292K init, 362K bss, 84348K reserved, 69632K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xf7800000 - 0xff000000 ( 120 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf7000000 ( 880 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0870318 (8609 kB) [ 0.000000] .init : 0xc0871000 - 0xc08ba000 ( 292 kB) [ 0.000000] .data : 0xc08ba000 - 0xc090f7e0 ( 342 kB) [ 0.000000] .bss : 0xc090f7e0 - 0xc096a15c ( 363 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: platform modifies aux control register: 0x02080000 -> 0x3e480001 [ 0.000000] L2C: DT/platform modifies aux control register: 0x02080000 -> 0x3e480001 [ 0.000000] L2C-310 erratum 769419 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9 [ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 cache controller enabled, 8 ways, 1024 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x7e480001 [ 0.000017] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns [ 0.000054] Switching to timer-based delay loop, resolution 1000ns [ 0.001149] Console: colour dummy device 80x30 [ 0.001865] console [tty1] enabled [ 0.001906] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000) [ 0.001949] pid_max: default: 32768 minimum: 301 [ 0.002649] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002684] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.005053] Initializing cgroup subsys freezer [ 0.005111] Initializing cgroup subsys debug [ 0.005212] CPU: Testing write buffer coherency: ok [ 0.005753] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.005889] Setting up static identity map for 0x8061c800 - 0x8061c898 [ 0.040419] Tegra Unknown SKU 177 [ 0.040474] Tegra Revision: A03 SKU: 177 CPU Process: 3 Core Process: 0 [ 0.062123] CPU1: Booted secondary processor [ 0.062155] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.082117] CPU2: Booted secondary processor [ 0.082145] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.102101] CPU3: Booted secondary processor [ 0.102130] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.102237] Brought up 4 CPUs [ 0.102353] SMP: Total of 4 processors activated. [ 0.102374] CPU: All CPU(s) started in SVC mode. [ 0.103861] devtmpfs: initialized [ 0.127596] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.133539] pinctrl core: initialized pinctrl subsystem [ 0.134862] regulator-dummy: no parameters [ 0.161014] NET: Registered protocol family 16 [ 0.164209] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.190001] cpuidle: using governor ladder [ 0.219999] cpuidle: using governor menu [ 0.250727] No ATAGs? [ 0.250787] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.250830] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.314952] 3v3: 3300 mV [ 0.315748] 5v0: 5000 mV [ 0.316518] 5v0: 5000 mV [ 0.316642] 5v0: Failed to create debugfs directory [ 0.317230] usbc_vbus: 5000 mV [ 0.317386] usbc_vbus: supplied by 5v0 [ 0.318159] usbh_vbus: Failed to request enable GPIO178: -517 [ 0.318382] reg-fixed-voltage regulators:regulator@3: Failed to register regulator: -517 [ 0.318435] platform regulators:regulator@3: Driver reg-fixed-voltage requests probe deferral [ 0.321314] vgaarb: loaded [ 0.323770] SCSI subsystem initialized [ 0.325552] usbcore: registered new interface driver usbfs [ 0.325885] usbcore: registered new interface driver hub [ 0.326157] usbcore: registered new device driver usb [ 0.338242] vrtc: no parameters [ 0.338936] vrtc: supplied by 5v0 [ 0.349986] vdd_1v8_gen: 1800 mV [ 0.350237] vdd_1v8_gen: supplied by 3v3 [ 0.359985] vddio_ddr_1v35: 1350 mV [ 0.360212] vddio_ddr_1v35: supplied by 3v3 [ 0.364184] vdd2: at 1500 mV [ 0.364410] vdd2: supplied by 3v3 [ 0.369987] vdd_cpu,vdd_sys: 1150 mV [ 0.373105] ldo1: at 2850 mV [ 0.373326] ldo1: supplied by vdd_1v8_gen [ 0.379987] en_3v3: 3300 mV [ 0.380229] en_3v3: supplied by vdd_1v8_gen [ 0.383261] ldo3: at 1000 mV [ 0.383478] ldo3: supplied by 3v3 [ 0.389987] vdd_rtc: 1200 mV [ 0.390204] vdd_rtc: supplied by 3v3 [ 0.399986] avdd_vdac: 2800 mV [ 0.400206] avdd_vdac: supplied by 3v3 [ 0.403581] avdd_plle: 1100 mV [ 0.403797] avdd_plle: supplied by vdd_1v8_gen [ 0.409985] avdd_pll: 1200 mV [ 0.410221] avdd_pll: supplied by vdd_1v8_gen [ 0.419985] vdd_ddr_hs: 1000 mV [ 0.420200] vdd_ddr_hs: supplied by vdd_1v8_gen [ 0.424980] tps62362-vout: 900 <--> 1400 mV at 1230 mV [ 0.425548] Linux video capture interface: v2.00 [ 0.425791] pps_core: LinuxPPS API ver. 1 registered [ 0.425816] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.425955] PTP clock support registered [ 0.427528] platform 7000f010.iommu: Driver tegra-smmu requests probe deferral [ 0.428296] Advanced Linux Sound Architecture Driver Initialized. [ 0.430701] Bluetooth: Core ver 2.19 [ 0.430859] NET: Registered protocol family 31 [ 0.430885] Bluetooth: HCI device and connection manager initialized [ 0.430938] Bluetooth: HCI socket layer initialized [ 0.430983] Bluetooth: L2CAP socket layer initialized [ 0.431091] Bluetooth: SCO socket layer initialized [ 0.432438] cfg80211: Calling CRDA to update world regulatory domain [ 0.433959] Switched to clocksource timer_us [ 0.470511] NET: Registered protocol family 2 [ 0.472662] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.472819] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.473024] TCP: Hash tables configured (established 8192 bind 8192) [ 0.474120] TCP: reno registered [ 0.474162] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.474252] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.474931] NET: Registered protocol family 1 [ 0.476092] RPC: Registered named UNIX socket transport module. [ 0.476126] RPC: Registered udp transport module. [ 0.476146] RPC: Registered tcp transport module. [ 0.476166] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.480095] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 0.484588] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.489331] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.490756] msgmni has been set to 1723 [ 0.493519] bounce: pool size: 64 pages [ 0.493562] io scheduler noop registered (default) [ 0.502370] backlight supply power not found, using dummy regulator [ 0.518237] tegra-apbdma 6000a000.dma: Tegra20 APB DMA driver register 32 channels [ 0.520095] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.525849] console [ttyS0] disabled [ 0.525956] of_serial 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 68, base_baud = 25500000) is a Tegra [ 2.157476] console [ttyS0] enabled [ 2.168642] serial-tegra 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 69, base_baud = 0) is a TEGRA_UART [ 2.185693] serial-tegra 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 122, base_baud = 0) is a TEGRA_UART [ 2.203062] [drm] Initialized drm 1.1.0 20060810 [ 2.213877] tegra-dc 54200000.dc: failed to probe RGB output: -517 [ 2.225972] platform 54200000.dc: Driver tegra-dc requests probe deferral [ 2.239940] 54280000.hdmi supply hdmi not found, using dummy regulator [ 2.255934] panel supply power not found, using dummy regulator [ 2.286196] loop: module loaded [ 2.306027] CAN device driver interface [ 2.316089] spi32766.0 supply vdd not found, using dummy regulator [ 2.328287] spi32766.0 supply xceiver not found, using dummy regulator [ 2.353472] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.2.15-k [ 2.366401] igb: Copyright (c) 2007-2014 Intel Corporation. [ 2.378464] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 2.391976] usbcore: registered new interface driver pegasus [ 2.403813] usbcore: registered new interface driver asix [ 2.415304] usbcore: registered new interface driver ax88179_178a [ 2.427500] usbcore: registered new interface driver cdc_ether [ 2.439524] usbcore: registered new interface driver smsc75xx [ 2.451443] usbcore: registered new interface driver smsc95xx [ 2.463279] usbcore: registered new interface driver net1080 [ 2.475030] usbcore: registered new interface driver cdc_subset [ 2.487038] usbcore: registered new interface driver zaurus [ 2.498819] usbcore: registered new interface driver cdc_ncm [ 2.510667] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.523071] ehci-pci: EHCI PCI platform driver [ 2.533601] tegra-ehci: Tegra EHCI driver [ 2.543898] platform 7d000000.usb: Driver tegra-ehci requests probe deferral [ 2.557010] platform 7d004000.usb: Driver tegra-ehci requests probe deferral [ 2.570112] platform 7d008000.usb: Driver tegra-ehci requests probe deferral [ 2.583499] usbcore: registered new interface driver cdc_acm [ 2.595026] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 2.609126] usbcore: registered new interface driver cdc_wdm [ 2.620978] usbcore: registered new interface driver usb-storage [ 2.634543] tegra-phy 7d004000.usb-phy: no vbus regulator [ 2.646029] platform 7d008000.usb-phy: Driver tegra-phy requests probe deferral [ 2.660566] mousedev: PS/2 mouse device common for all mice [ 2.677720] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0 [ 2.691967] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc2 [ 2.705025] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock [ 2.731442] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc1 [ 2.744877] i2c /dev entries driver [ 2.756797] usbcore: registered new interface driver uvcvideo [ 2.768419] USB Video Class driver (1.1.1) [ 2.778385] gspca_main: v2.14.0 registered [ 2.792332] sdhci: Secure Digital Host Controller Interface driver [ 2.804392] sdhci: Copyright(c) Pierre Ossman [ 2.814633] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.826652] sdhci-tegra 78000200.sdhci: Got CD GPIO [ 2.838648] sdhci-tegra 78000200.sdhci: No vmmc regulator found [ 2.850442] sdhci-tegra 78000200.sdhci: No vqmmc regulator found [ 2.862307] mmc0: Invalid maximum block size, assuming 512 bytes [ 2.914330] mmc0: SDHCI controller on 78000200.sdhci [78000200.sdhci] using ADMA [ 2.931037] sdhci-tegra 78000600.sdhci: No vmmc regulator found [ 2.942837] sdhci-tegra 78000600.sdhci: No vqmmc regulator found [ 2.954705] mmc1: Invalid maximum block size, assuming 512 bytes [ 3.013998] mmc1: SDHCI controller on 78000600.sdhci [78000600.sdhci] using ADMA [ 3.034577] usbcore: registered new interface driver usbhid [ 3.048101] usbhid: USB HID core driver [ 3.084717] TCP: cubic registered [ 3.094300] NET: Registered protocol family 10 [ 3.107164] mip6: Mobile IPv6 [ 3.116028] sit: IPv6 over IPv4 tunneling driver [ 3.131452] NET: Registered protocol family 17 [ 3.141888] NET: Registered protocol family 15 [ 3.152233] can: controller area network core (rev 20120528 abi 9) [ 3.164602] NET: Registered protocol family 29 [ 3.175170] can: raw protocol (rev 20120528) [ 3.185339] can: broadcast manager protocol (rev 20120528 t) [ 3.196938] can: netlink gateway (rev 20130117) max_hops=1 [ 3.208610] Bluetooth: RFCOMM socket layer initialized [ 3.219702] Bluetooth: RFCOMM ver 1.11 [ 3.229389] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 3.229404] mmc1: new high speed MMC card at address 0001 [ 3.230707] mmcblk0: mmc1:0001 H4G1d 3.64 GiB [ 3.231166] mmcblk0boot0: mmc1:0001 H4G1d partition 1 4.00 MiB [ 3.231623] mmcblk0boot1: mmc1:0001 H4G1d partition 2 4.00 MiB [ 3.232010] mmcblk0rpmb: mmc1:0001 H4G1d partition 3 4.00 MiB [ 3.240688] mmcblk0: p1 p2 [ 3.306137] Bluetooth: BNEP socket layer initialized [ 3.316980] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 3.328784] Bluetooth: HIDP socket layer initialized [ 3.342164] Registering SWP/SWPB emulation handler [ 3.356074] usbh_vbus: 5000 mV [ 3.365249] usbh_vbus: supplied by 5v0 [ 3.379433] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.391947] [drm] No driver support for vblank timestamp query. [ 3.529603] Console: switching to colour frame buffer device 240x67 [ 3.576540] host1x drm: fb0: frame buffer device [ 3.587232] host1x drm: registered panic notifier [ 3.624021] [drm] Initialized tegra 0.0.0 20120330 on minor 0 [ 3.638060] utmi_phy_clk_enable: timeout waiting for phy to stabilize [ 3.650642] tegra-ehci 7d000000.usb: EHCI Host Controller [ 3.662119] tegra-ehci 7d000000.usb: new USB bus registered, assigned bus number 1 [ 3.676540] tegra-ehci 7d000000.usb: irq 52, io mem 0x7d000000 [ 3.704002] tegra-ehci 7d000000.usb: USB 2.0 started, EHCI 1.00 [ 3.719014] hub 1-0:1.0: USB hub found [ 3.728840] hub 1-0:1.0: 1 port detected [ 3.740432] tegra-ehci 7d004000.usb: EHCI Host Controller [ 3.751914] tegra-ehci 7d004000.usb: new USB bus registered, assigned bus number 2 [ 3.766194] tegra-ehci 7d004000.usb: irq 53, io mem 0x7d004000 [ 3.794005] tegra-ehci 7d004000.usb: USB 2.0 started, EHCI 1.00 [ 3.808389] hub 2-0:1.0: USB hub found [ 3.818192] hub 2-0:1.0: 1 port detected [ 3.829739] platform 7d008000.usb: Driver tegra-ehci requests probe deferral [ 3.844027] tegra-ehci 7d008000.usb: EHCI Host Controller [ 3.855505] tegra-ehci 7d008000.usb: new USB bus registered, assigned bus number 3 [ 3.869840] tegra-ehci 7d008000.usb: irq 129, io mem 0x7d008000 [ 3.894001] tegra-ehci 7d008000.usb: USB 2.0 started, EHCI 1.00 [ 3.908401] hub 3-0:1.0: USB hub found [ 3.918205] hub 3-0:1.0: 1 port detected [ 3.931137] input: gpio-keys as /devices/soc0/gpio-keys/input/input0 [ 3.946264] rtc-ds1307 0-0068: setting system clock to 2014-11-01 08:05:12 UTC (1414829112) [ 3.982021] ALSA device list: [ 3.991008] No soundcards found. [ 4.007384] kjournald starting. Commit interval 5 seconds [ 4.007467] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode [ 4.007571] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
And with U-Boot commit 858530a8c0a7ce7e573e513934804a00d6676813 reverted:
U-Boot SPL 2015.01-rc1-00146-g715b59d (Nov 20 2014 - 11:18:59)
U-Boot 2015.01-rc1-00146-g715b59d (Nov 20 2014 - 11:18:59)
TEGRA30 Board: Toradex Colibri T30 I2C: ready DRAM: 1 GiB MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1 In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 2 1 0 reading tegra30-colibri-eval-v3.dtb 24225 bytes read in 15 ms (1.5 MiB/s) reading uImage 4717016 bytes read in 127 ms (35.4 MiB/s) ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-3.18.0-rc5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4716952 Bytes = 4.5 MiB Load Address: 82008000 Entry Point: 82008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 82000000 Booting using the fdt blob at 0x82000000 Loading Kernel Image ... OK Using Device Tree in place at 82000000, end 82008ea0
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.18.0-rc5 (zim@localhost.localdomain) (gcc version 4.7.2 20120910 (prerelease) (crosstool-NG linaro-1.13.1-2012.09-20120921 - Linaro GCC 2012.09) ) #1 SMP PREEMPT Thu Nov 20 09:14:47 CET 2014 [ 0.000000] CPU: ARMv7 Processor [412fc099] revision 9 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Toradex Colibri T30 on Colibri Evaluation Board [ 0.000000] cma: Reserved 64 MiB at 0xbb400000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 10 pages/cpu @f67d2000 s8896 r8192 d23872 u40960 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257312 [ 0.000000] Kernel command line: core_edp_mv=1300 usb_high_speed=1 ip=off root=/dev/mmcblk0p2 rw,noatime rootfstype=ext3 rootwait asix_mac=00:14:2d:28:39:fe consoleblank=0 no_console_suspend=1 console=tty1 console=ttyS0,115200n8 debug_uartport=lsport,0 vmalloc=128M mem=1012M@2048M fbmem=12M@3060M video=tegrafb0:640x480-16@60 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 951940K/1036288K available (6447K kernel code, 341K rwdata, 2160K rodata, 292K init, 362K bss, 84348K reserved, 69632K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xf7800000 - 0xff000000 ( 120 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf7000000 ( 880 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0870318 (8609 kB) [ 0.000000] .init : 0xc0871000 - 0xc08ba000 ( 292 kB) [ 0.000000] .data : 0xc08ba000 - 0xc090f7e0 ( 342 kB) [ 0.000000] .bss : 0xc090f7e0 - 0xc096a15c ( 363 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: platform modifies aux control register: 0x02080000 -> 0x3e480001 [ 0.000000] L2C: DT/platform modifies aux control register: 0x02080000 -> 0x3e480001 [ 0.000000] L2C-310 erratum 769419 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9 [ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 cache controller enabled, 8 ways, 1024 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x7e480001 [ 0.000019] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns [ 0.000057] Switching to timer-based delay loop, resolution 1000ns [ 0.001151] Console: colour dummy device 80x30 [ 0.001917] console [tty1] enabled [ 0.001960] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000) [ 0.002002] pid_max: default: 32768 minimum: 301 [ 0.002702] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002738] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.005106] Initializing cgroup subsys freezer [ 0.005163] Initializing cgroup subsys debug [ 0.005263] CPU: Testing write buffer coherency: ok [ 0.005797] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.005933] Setting up static identity map for 0x8061c800 - 0x8061c898 [ 0.040421] Tegra Unknown SKU 177 [ 0.040477] Tegra Revision: A03 SKU: 177 CPU Process: 3 Core Process: 0 [ 0.062133] CPU1: Booted secondary processor [ 0.062165] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.082123] CPU2: Booted secondary processor [ 0.082151] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.102102] CPU3: Booted secondary processor [ 0.102131] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.102239] Brought up 4 CPUs [ 0.102356] SMP: Total of 4 processors activated. [ 0.102378] CPU: All CPU(s) started in SVC mode. [ 0.103864] devtmpfs: initialized [ 0.127607] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.133518] pinctrl core: initialized pinctrl subsystem [ 0.134856] regulator-dummy: no parameters [ 0.160990] NET: Registered protocol family 16 [ 0.164174] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.190002] cpuidle: using governor ladder [ 0.220001] cpuidle: using governor menu [ 0.250743] No ATAGs? [ 0.250803] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.250846] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.314960] 3v3: 3300 mV [ 0.315759] 5v0: 5000 mV [ 0.316527] 5v0: 5000 mV [ 0.316652] 5v0: Failed to create debugfs directory [ 0.317239] usbc_vbus: 5000 mV [ 0.317394] usbc_vbus: supplied by 5v0 [ 0.318165] usbh_vbus: Failed to request enable GPIO178: -517 [ 0.318392] reg-fixed-voltage regulators:regulator@3: Failed to register regulator: -517 [ 0.318446] platform regulators:regulator@3: Driver reg-fixed-voltage requests probe deferral [ 0.321324] vgaarb: loaded [ 0.323786] SCSI subsystem initialized [ 0.325570] usbcore: registered new interface driver usbfs [ 0.325903] usbcore: registered new interface driver hub [ 0.326174] usbcore: registered new device driver usb [ 0.338278] vrtc: no parameters [ 0.338975] vrtc: supplied by 5v0 [ 0.349988] vdd_1v8_gen: 1800 mV [ 0.350237] vdd_1v8_gen: supplied by 3v3 [ 0.359987] vddio_ddr_1v35: 1350 mV [ 0.360213] vddio_ddr_1v35: supplied by 3v3 [ 0.364186] vdd2: at 1500 mV [ 0.364412] vdd2: supplied by 3v3 [ 0.369988] vdd_cpu,vdd_sys: 1150 mV [ 0.373105] ldo1: at 2850 mV [ 0.373327] ldo1: supplied by vdd_1v8_gen [ 0.379986] en_3v3: 3300 mV [ 0.380225] en_3v3: supplied by vdd_1v8_gen [ 0.383251] ldo3: at 1000 mV [ 0.383468] ldo3: supplied by 3v3 [ 0.389988] vdd_rtc: 1200 mV [ 0.390208] vdd_rtc: supplied by 3v3 [ 0.399987] avdd_vdac: 2800 mV [ 0.400206] avdd_vdac: supplied by 3v3 [ 0.403582] avdd_plle: 1100 mV [ 0.403797] avdd_plle: supplied by vdd_1v8_gen [ 0.409987] avdd_pll: 1200 mV [ 0.410223] avdd_pll: supplied by vdd_1v8_gen [ 0.419986] vdd_ddr_hs: 1000 mV [ 0.420200] vdd_ddr_hs: supplied by vdd_1v8_gen [ 0.424987] tps62362-vout: 900 <--> 1400 mV at 1230 mV [ 0.425557] Linux video capture interface: v2.00 [ 0.425800] pps_core: LinuxPPS API ver. 1 registered [ 0.425825] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.425965] PTP clock support registered [ 0.427540] platform 7000f010.iommu: Driver tegra-smmu requests probe deferral [ 0.428310] Advanced Linux Sound Architecture Driver Initialized. [ 0.430706] Bluetooth: Core ver 2.19 [ 0.430867] NET: Registered protocol family 31 [ 0.430892] Bluetooth: HCI device and connection manager initialized [ 0.430943] Bluetooth: HCI socket layer initialized [ 0.430987] Bluetooth: L2CAP socket layer initialized [ 0.431097] Bluetooth: SCO socket layer initialized [ 0.432443] cfg80211: Calling CRDA to update world regulatory domain [ 0.433965] Switched to clocksource timer_us [ 0.470525] NET: Registered protocol family 2 [ 0.472675] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.472832] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.473038] TCP: Hash tables configured (established 8192 bind 8192) [ 0.474132] TCP: reno registered [ 0.474172] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.474262] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.474933] NET: Registered protocol family 1 [ 0.476094] RPC: Registered named UNIX socket transport module. [ 0.476127] RPC: Registered udp transport module. [ 0.476148] RPC: Registered tcp transport module. [ 0.476168] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.480093] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 0.484596] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.489340] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.490763] msgmni has been set to 1723 [ 0.493526] bounce: pool size: 64 pages [ 0.493566] io scheduler noop registered (default) [ 0.502376] backlight supply power not found, using dummy regulator [ 0.518243] tegra-apbdma 6000a000.dma: Tegra20 APB DMA driver register 32 channels [ 0.520098] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.525853] console [ttyS0] disabled [ 0.525961] of_serial 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 68, base_baud = 25500000) is a Tegra [ 1.339391] console [ttyS0] enabled [ 1.344752] serial-tegra 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 69, base_baud = 0) is a TEGRA_UART [ 1.355956] serial-tegra 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 122, base_baud = 0) is a TEGRA_UART [ 1.367491] [drm] Initialized drm 1.1.0 20060810 [ 1.372446] tegra-dc 54200000.dc: failed to probe RGB output: -517 [ 1.378705] platform 54200000.dc: Driver tegra-dc requests probe deferral [ 1.386837] 54280000.hdmi supply hdmi not found, using dummy regulator [ 1.396952] panel supply power not found, using dummy regulator [ 1.421337] loop: module loaded [ 1.435353] CAN device driver interface [ 1.439463] spi32766.0 supply vdd not found, using dummy regulator [ 1.445858] spi32766.0 supply xceiver not found, using dummy regulator [ 1.465219] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.2.15-k [ 1.472278] igb: Copyright (c) 2007-2014 Intel Corporation. [ 1.478518] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 1.486198] usbcore: registered new interface driver pegasus [ 1.492157] usbcore: registered new interface driver asix [ 1.497817] usbcore: registered new interface driver ax88179_178a [ 1.504186] usbcore: registered new interface driver cdc_ether [ 1.510349] usbcore: registered new interface driver smsc75xx [ 1.516435] usbcore: registered new interface driver smsc95xx [ 1.522407] usbcore: registered new interface driver net1080 [ 1.528328] usbcore: registered new interface driver cdc_subset [ 1.534506] usbcore: registered new interface driver zaurus [ 1.540429] usbcore: registered new interface driver cdc_ncm [ 1.546441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.552984] ehci-pci: EHCI PCI platform driver [ 1.557685] tegra-ehci: Tegra EHCI driver [ 1.562120] platform 7d000000.usb: Driver tegra-ehci requests probe deferral [ 1.569397] platform 7d004000.usb: Driver tegra-ehci requests probe deferral [ 1.576666] platform 7d008000.usb: Driver tegra-ehci requests probe deferral [ 1.584225] usbcore: registered new interface driver cdc_acm [ 1.589891] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.598157] usbcore: registered new interface driver cdc_wdm [ 1.604189] usbcore: registered new interface driver usb-storage [ 1.611854] tegra-phy 7d004000.usb-phy: no vbus regulator [ 1.617508] platform 7d008000.usb-phy: Driver tegra-phy requests probe deferral [ 1.626203] mousedev: PS/2 mouse device common for all mice [ 1.637493] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0 [ 1.645787] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc2 [ 1.652981] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock [ 1.673641] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc1 [ 1.681246] i2c /dev entries driver [ 1.687338] usbcore: registered new interface driver uvcvideo [ 1.693093] USB Video Class driver (1.1.1) [ 1.697238] gspca_main: v2.14.0 registered [ 1.705337] sdhci: Secure Digital Host Controller Interface driver [ 1.711528] sdhci: Copyright(c) Pierre Ossman [ 1.715935] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.722093] sdhci-tegra 78000200.sdhci: Got CD GPIO [ 1.728255] sdhci-tegra 78000200.sdhci: No vmmc regulator found [ 1.734220] sdhci-tegra 78000200.sdhci: No vqmmc regulator found [ 1.740235] mmc0: Invalid maximum block size, assuming 512 bytes [ 1.794339] mmc0: SDHCI controller on 78000200.sdhci [78000200.sdhci] using ADMA [ 1.805218] sdhci-tegra 78000600.sdhci: No vmmc regulator found [ 1.811154] sdhci-tegra 78000600.sdhci: No vqmmc regulator found [ 1.817195] mmc1: Invalid maximum block size, assuming 512 bytes [ 1.864006] mmc1: SDHCI controller on 78000600.sdhci [78000600.sdhci] using ADMA [ 1.900414] usbcore: registered new interface driver usbhid [ 1.909095] usbhid: USB HID core driver [ 1.924130] TCP: cubic registered [ 1.927845] NET: Registered protocol family 10 [ 1.934913] mip6: Mobile IPv6 [ 1.937906] sit: IPv6 over IPv4 tunneling driver [ 1.947377] NET: Registered protocol family 17 [ 1.951912] NET: Registered protocol family 15 [ 1.956405] can: controller area network core (rev 20120528 abi 9) [ 1.962878] NET: Registered protocol family 29 [ 1.967594] can: raw protocol (rev 20120528) [ 1.971886] can: broadcast manager protocol (rev 20120528 t) [ 1.974135] mmc1: new high speed MMC card at address 0001 [ 1.975438] mmcblk0: mmc1:0001 H4G1d 3.64 GiB [ 1.975906] mmcblk0boot0: mmc1:0001 H4G1d partition 1 4.00 MiB [ 1.976351] mmcblk0boot1: mmc1:0001 H4G1d partition 2 4.00 MiB [ 1.976743] mmcblk0rpmb: mmc1:0001 H4G1d partition 3 4.00 MiB [ 2.005356] can: netlink gateway (rev 20130117) max_hops=1 [ 2.007659] mmcblk0: p1 p2 [ 2.014026] Bluetooth: RFCOMM socket layer initialized [ 2.019218] Bluetooth: RFCOMM ver 1.11 [ 2.023012] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.028436] Bluetooth: BNEP socket layer initialized [ 2.033426] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.039404] Bluetooth: HIDP socket layer initialized [ 2.046980] Registering SWP/SWPB emulation handler [ 2.055017] usbh_vbus: 5000 mV [ 2.058323] usbh_vbus: supplied by 5v0 [ 2.066565] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.073197] [drm] No driver support for vblank timestamp query. [ 2.205169] Console: switching to colour frame buffer device 240x67 [ 2.246218] host1x drm: fb0: frame buffer device [ 2.251056] host1x drm: registered panic notifier [ 2.284024] [drm] Initialized tegra 0.0.0 20120330 on minor 0 [ 2.292202] utmi_phy_clk_enable: timeout waiting for phy to stabilize [ 2.298900] tegra-ehci 7d000000.usb: EHCI Host Controller [ 2.304542] tegra-ehci 7d000000.usb: new USB bus registered, assigned bus number 1 [ 2.313066] tegra-ehci 7d000000.usb: irq 52, io mem 0x7d000000 [ 2.334008] tegra-ehci 7d000000.usb: USB 2.0 started, EHCI 1.00 [ 2.342643] hub 1-0:1.0: USB hub found [ 2.346640] hub 1-0:1.0: 1 port detected [ 2.352380] tegra-ehci 7d004000.usb: EHCI Host Controller [ 2.358071] tegra-ehci 7d004000.usb: new USB bus registered, assigned bus number 2 [ 2.366529] tegra-ehci 7d004000.usb: irq 53, io mem 0x7d004000 [ 2.384015] tegra-ehci 7d004000.usb: USB 2.0 started, EHCI 1.00 [ 2.392508] hub 2-0:1.0: USB hub found [ 2.396505] hub 2-0:1.0: 1 port detected [ 2.402202] platform 7d008000.usb: Driver tegra-ehci requests probe deferral [ 2.410489] tegra-ehci 7d008000.usb: EHCI Host Controller [ 2.416175] tegra-ehci 7d008000.usb: new USB bus registered, assigned bus number 3 [ 2.424652] tegra-ehci 7d008000.usb: irq 129, io mem 0x7d008000 [ 2.444173] tegra-ehci 7d008000.usb: USB 2.0 started, EHCI 1.00 [ 2.452685] hub 3-0:1.0: USB hub found [ 2.456681] hub 3-0:1.0: 1 port detected [ 2.464271] input: gpio-keys as /devices/soc0/gpio-keys/input/input0 [ 2.474112] rtc-ds1307 0-0068: setting system clock to 2014-11-01 08:23:12 UTC (1414830192) [ 2.504315] ALSA device list: [ 2.507408] No soundcards found. [ 2.517216] kjournald starting. Commit interval 5 seconds [ 2.517310] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode [ 2.517420] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
One can see a difference in boot time of about 1.5 seconds! Any thoughts on any of this?

Hi Marcel,
On 20 November 2014 11:29, Marcel Ziswiler marcel@ziswiler.com wrote:
On Mon, 2014-11-17 at 06:53 +0000, Simon Glass wrote:
Did this get resolved?
No, unfortunately not.
Do you have an update please?
I just retested this and it is still the case all with latest mainline stuff both on the U-Boot as well as the Linux kernel side. Another issue I noticed is that somehow current U-Boot DM serial stuff seems to double space everything?!? Well, anyway. Here the output of straight mainline:
I don't see the double-space problem. Can you debug it? The only place that converts \n into \r should be in serial-uclass.c.
U-Boot SPL 2015.01-rc1-00145-gf196044 (Nov 20 2014 - 09:04:15)
U-Boot 2015.01-rc1-00145-gf196044 (Nov 20 2014 - 09:04:15)
TEGRA30
Board: Toradex Colibri T30
I2C: ready
DRAM: 1 GiB
MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 2 1 0
reading tegra30-colibri-eval-v3.dtb
24225 bytes read in 16 ms (1.4 MiB/s)
reading uImage
4717016 bytes read in 127 ms (35.4 MiB/s)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-3.18.0-rc5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4716952 Bytes = 4.5 MiB
Load Address: 82008000
Entry Point: 82008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Loading Kernel Image ... OK
Using Device Tree in place at 82000000, end 82008ea0
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[snip]
[ 0.525849] console [ttyS0] disabled [ 0.525956] of_serial 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 68, base_baud = 25500000) is a Tegra [ 2.157476] console [ttyS0] enabled [ 2.168642] serial-tegra 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 69, base_baud = 0) is a TEGRA_UART [ 2.185693] serial-tegra 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 122, base_baud = 0) is a TEGRA_UART [ 2.203062] [drm] Initialized drm 1.1.0 20060810 [ 2.213877] tegra-dc 54200000.dc: failed to probe RGB output: -517 [ 2.225972] platform 54200000.dc: Driver tegra-dc requests probe deferral
[snip]
And with U-Boot commit 858530a8c0a7ce7e573e513934804a00d6676813 reverted:
U-Boot SPL 2015.01-rc1-00146-g715b59d (Nov 20 2014 - 11:18:59)
[snip]
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[snip]
[ 0.520098] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.525853] console [ttyS0] disabled [ 0.525961] of_serial 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 68, base_baud = 25500000) is a Tegra [ 1.339391] console [ttyS0] enabled [ 1.344752] serial-tegra 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 69, base_baud = 0) is a TEGRA_UART [ 1.355956] serial-tegra 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 122, base_baud = 0) is a TEGRA_UART [ 1.367491] [drm] Initialized drm 1.1.0 20060810
[snip]
It seems to take a lot longer to init the serial consoles in the first case. As an experiment, can you try removing the serial nodes (except uart_a which I think you are using) from the device tree file (tegra30.dtsi)?
Linux does some very strange things on serial init - see my Linux commit 7735983.
Regards, Simon
participants (2)
-
Marcel Ziswiler
-
Simon Glass