Skip to contentSkip to conversation

BBB with v5.7-rc5

DISCUSSION Felipe Balbi 3 participants 7 messages May 12, 2020

lore
Share & tools
lore
#0 lore raw

Hi guys,

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual root=/dev/mmcblk0p1 rootwait console=ttyS0,115200n8 (also tried ttyO0)

I get nothing on serial console. Has anyone tried a recent kernel on BBB?

Cheers

Signature · 1 line
balbi
#1 lore raw

Hi,

Quoted 4 lines · Felipe Balbi

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual

same result with 9.2. Nothing from low level debug either.

Signature · 1 line
balbi
#2 lore raw

Hi,

Quoted 9 lines · Felipe Balbi

Hi,

Quoted 4 lines · Felipe Balbi

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual

same result with 9.2. Nothing from low level debug either.

Maybe check you have a current dtb file? The older dtb files may not have all the needed data.

Also you probably want to add "earlycon" to your your kernel cmdline and then you have early output from CONFIG_SERIAL_EARLYCON=y as long as there's a chosen entry for the device uart. So no need to enable DEBUG_LL in most cases.

There's "[PATCH net v4] net: ethernet: ti: Remove TI_CPTS_MOD workaround" being discussed too for the cpsw regression.

Regards,

Tony

#3 lore raw

Felipe

Quoted 5 lines · Tony Lindgren

Hi,

Quoted 2 lines · Felipe Balbi

Hi,

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines · Felipe Balbi

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual

same result with 9.2. Nothing from low level debug either.

Maybe check you have a current dtb file? The older dtb files may not have all the needed data.

I have been using the latest uBoot, DTBs and kernel with no issue (except CPSW).

I have booted the BBB and a BBG.  9.2 gcc compiler

Quoted 7 lines

Also you probably want to add "earlycon" to your your kernel cmdline and then you have early output from CONFIG_SERIAL_EARLYCON=y as long as there's a chosen entry for the device uart. So no need to enable DEBUG_LL in most cases.

There's "[PATCH net v4] net: ethernet: ti: Remove TI_CPTS_MOD workaround" being discussed too for the cpsw regression.

This is a build dependency issue.

Dan

Quoted 6 lines

Regards,

Tony

#4 lore raw

Hi Dan,

Quoted 5 lines · Dan Murphy
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · Felipe Balbi

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

same result with 9.2. Nothing from low level debug either.

Maybe check you have a current dtb file? The older dtb files may not have all the needed data.

I have been using the latest uBoot, DTBs and kernel with no issue (except CPSW).

I have booted the BBB and a BBG.  9.2 gcc compiler

I'll give it a shot. Maybe it's something silly I did along the way ;-)

It's been a few years since I touched ARM :-)

Signature · 1 line
balbi
#5 lore raw
In reply to Tony Lindgren

Hi,

Quoted 10 lines · Tony Lindgren
Quoted 7 lines
Quoted 4 lines · Felipe Balbi

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual

same result with 9.2. Nothing from low level debug either.

Maybe check you have a current dtb file? The older dtb files may not have all the needed data.

yeah, loading all the data from sd card. I am, however, using the u-boot that came with the board.

Quoted 4 lines

Also you probably want to add "earlycon" to your your kernel cmdline and then you have early output from CONFIG_SERIAL_EARLYCON=y as long as there's a chosen entry for the device uart. So no need to enable DEBUG_LL in most cases.

cool, I'll try earlycon, then.

Quoted 2 lines

There's "[PATCH net v4] net: ethernet: ti: Remove TI_CPTS_MOD workaround" being discussed too for the cpsw regression.

Thanks

Signature · 1 line
balbi
#6 lore raw

Hi,

Quoted 7 lines · Felipe Balbi
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 4 lines · Felipe Balbi

what's the trick to get BBB to boot recent kernels nowadays? :-p

I'm using omap2plus_defconfig without CPSW (doesn't link otherwise) with GCC 10.1.0 (I'll try an older version shortly). Cmdline is the usual

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

same result with 9.2. Nothing from low level debug either.

Maybe check you have a current dtb file? The older dtb files may not have all the needed data.

yeah, loading all the data from sd card. I am, however, using the u-boot that came with the board.

All sorted out, thanks for the tips ;-)

Signature · 1 line
balbi