Skip to contentSkip to conversation

i.MX25 : Ethernet link detection blocking console

DISCUSSION Eric Bénard 2 participants 2 messages Feb 21, 2014 – Feb 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

while testing 2014.02 on eukrea-cpuimx25 board, I meet this problem :
- I get "Hit any key to stop autoboot: 1"
- whatever I press on the keyboard, the autoboot continues
- if I send characters through the serial port before barebox reach the autoboot line, then I'll get the command line but only when the link detection will have finished (check log below).

Any idea what could be wrong here ?

Thanks
Eric

barebox 2014.02.0-dirty #5 Fri Feb 21 16:52:37 CET 2014

Board: Eukrea CPUIMX25
netconsole: registered as cs1
mdio_bus: miibus0: probed
nand: ONFI param page 0 valid
nand: ONFI flash detected
nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP), 1024MiB, page size: 4096, OOB size: 224 Bad block table found at page 262016, version 0x01 Bad block table found at page 261888, version 0x01 imxfb imxfb: i.MX Framebuffer driver
imx-esdhc imx-esdhc0: registered as imx-esdhc0
ehci ehci0: USB EHCI 1.00
malloc space: 0x83700000 -> 0x83efffff (size 8 MiB) running /env/bin/init...

Hit any key to stop autoboot: 1100Mbps full duplex link detected
^ it waits here until the link is detected then I get the prompt (only if the key was pressed before reaching the autoboot line)

barebox@Eukrea CPUIMX25:/ <INTERRUPT>

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi Eric,

Quoted 10 lines · Eric Bénard

Hi,

while testing 2014.02 on eukrea-cpuimx25 board, I meet this problem :
- I get "Hit any key to stop autoboot: 1"
- whatever I press on the keyboard, the autoboot continues
- if I send characters through the serial port before barebox reach the autoboot line, then I'll get the command line but only when the link detection will have finished (check log below).

Any idea what could be wrong here ?

I have no idea. Does this happen with the defconfig currently in the repository?

The only thing I could think of is that some kind of automount triggers, but the cpuimx25 doesn't use automounts. Another possibility might be the network console, but this should normally not even start without being configured. Could you disable netconsole?

Sascha

Quoted 35 lines

Thanks
Eric

barebox 2014.02.0-dirty #5 Fri Feb 21 16:52:37 CET 2014

Board: Eukrea CPUIMX25
netconsole: registered as cs1
mdio_bus: miibus0: probed
nand: ONFI param page 0 valid
nand: ONFI flash detected
nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP), 1024MiB, page size: 4096, OOB size: 224 Bad block table found at page 262016, version 0x01 Bad block table found at page 261888, version 0x01 imxfb imxfb: i.MX Framebuffer driver
imx-esdhc imx-esdhc0: registered as imx-esdhc0
ehci ehci0: USB EHCI 1.00
malloc space: 0x83700000 -> 0x83efffff (size 8 MiB) running /env/bin/init...

Hit any key to stop autoboot: 1100Mbps full duplex link detected
^ it waits here until the link is detected then I get the prompt (only if the key was pressed before reaching the autoboot line)

barebox@Eukrea CPUIMX25:/ <INTERRUPT>

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox