[opensuse-arm] Raspberry Pi 1 Model B+, No USB without b-plus dtb
Hi list, After rebasing my pi setup on a recent openSUSE image (since I was using raspberrypi branch kernels), it took me longer than I'm willing to admit to realize that the B+ needs to use the B+ dtb for things like USB to work. The kernel does boot with the rpi-b.dtb, but since USB isn't up the network devices aren't up and you can't plug in a keyboard to do anything about it. The ethernet MAC, serial, and revision still aren't being picked up, but this time I'm going with the ifcfg-eth0 change instead of switching kernels and editing the boot args. Have a lot of fun, Evan
On Sunday 19 July 2015 10:47:43 Evan McClain wrote:
Hi list,
After rebasing my pi setup on a recent openSUSE image (since I was using raspberrypi branch kernels), it took me longer than I'm willing to admit to realize that the B+ needs to use the B+ dtb for things like USB to work. The kernel does boot with the rpi-b.dtb, but since USB isn't up the network devices aren't up and you can't plug in a keyboard to do anything about it.
The ethernet MAC, serial, and revision still aren't being picked up, but this time I'm going with the ifcfg-eth0 change instead of switching kernels and editing the boot args.
Have a lot of fun, Evan
I think this is due to using a to old u-boot, which is not able to detect the board revision/model, and thus always uses fdtfile=bcm2835-rpi-b.dtb See: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=6fe7845a9823c12aa673ad359005... Using a newer u-boot would also fix the problem of the changing mac address. Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424
Hi, Am 19.07.2015 um 23:13 schrieb Stefan Bruens:
On Sunday 19 July 2015 10:47:43 Evan McClain wrote:
After rebasing my pi setup on a recent openSUSE image (since I was using raspberrypi branch kernels), it took me longer than I'm willing to admit to realize that the B+ needs to use the B+ dtb for things like USB to work. The kernel does boot with the rpi-b.dtb, but since USB isn't up the network devices aren't up and you can't plug in a keyboard to do anything about it.
The ethernet MAC, serial, and revision still aren't being picked up, but this time I'm going with the ifcfg-eth0 change instead of switching kernels and editing the boot args.
I think this is due to using a to old u-boot, which is not able to detect the board revision/model, and thus always uses fdtfile=bcm2835-rpi-b.dtb
See: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=6fe7845a9823c12aa673ad359005...
Using a newer u-boot would also fix the problem of the changing mac address.
Nope. As you can see, our JeOS image hardcodes the filename for the DTB as dtb/bcm2835-rpi-b.dtb, so a U-Boot update will not magically help: https://build.opensuse.org/package/view_file/openSUSE:Factory:ARM/JeOS/uboot... Feel free to make a submit request changing that to dtb/${fdtfile} or whatever - note that it's a shell script, so U-Boot's $ will need escaping. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)
participants (3)
-
Andreas Färber
-
Evan McClain
-
Stefan Bruens