Sharvin
Posts: 17
Joined: Tue Feb 19, 2019 1:19 pm

Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]

Fri Jun 21, 2019 6:03 am

Hello

I am building a Custom OS using Buildroot. I am following this article https://jumpnowtek.com/rpi/Raspberry-Pi ... droot.html to build the custom os.

Author of that article gave a sample image https://jumpnowtek.com/downloads/rpi/buildroot/ of the os that will be created after the build is completed. I downloaded the Os image and flashed it on the SD card, in that case, I was able to load the ethernet interface for Raspberry Pi.

But When I started to build using the jumpnow_rpi3_defconfig given by the author using buildroot tool for Raspberry Pi I am unable to load the ethernet interface.

Steps I have followed are =>

Code: Select all

git clone -b jumpnow https://github.com/jumpnow/buildroot
cd buildroot
make jumpnow_rpi3_defconfig
make
Booting logs related to Ethernet Interface =>

Code: Select all

Starting network: [    3.492149] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Waiting for interface eth0 to appear[    3.705901] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[    3.724048] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[    3.769867] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): can't register MDIO bus
[    3.783944] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): MDIO INIT FAILED.....
[    3.798153] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): Bind routine FAILED
[    3.817634] random: crng init done
[    3.824167] random: 2 urandom warning(s) missed due to ratelimiting
............... timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
FAIL
Starting ntpd: [   18.895092] NET: Registered protocol family 10
[   18.904252] Segment Routing with IPv6
OK
Starting sshd: OK
Output of ifconfig -a =>

Code: Select all

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:512 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37888 (37.0 KiB)  TX bytes:37888 (37.0 KiB)

wlan0     Link encap:Ethernet  HWaddr B8:27:EB:44:DB:B4
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Output of ifup eth0 =>

Code: Select all

# ifup eth0
Waiting for interface eth0 to appear............... timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
Kernel version =>

Code: Select all

# uname -r
4.14.98-v7
What am I missing here or doing wrong here?

epoch1970
Posts: 3872
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]

Fri Jun 21, 2019 12:25 pm

Maybe the paper was written for 3B and the recipe has not been ported to 3B+
There might be differences in the default platform defconfigs, e.g. (jumpnow_)rpi3_defconfig vs. rpi3bplus_defconfig. I assume this, I have no idea if 3B+ needs a different defconfig nor its name.
If JumpnowTech's buildroot clone is too old, look into a recent copy of buildroot for the list of rpi platform defconfigs.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Sharvin
Posts: 17
Joined: Tue Feb 19, 2019 1:19 pm

Re: Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]

Fri Jun 21, 2019 12:40 pm

epoch1970 wrote:
Fri Jun 21, 2019 12:25 pm
Maybe the paper was written for 3B and the recipe has not been ported to 3B+
There might be differences in the default platform defconfigs, e.g. (jumpnow_)rpi3_defconfig vs. rpi3bplus_defconfig. I assume this, I have no idea if 3B+ needs a different defconfig nor its name.
If JumpnowTech's buildroot clone is too old, look into a recent copy of buildroot for the list of rpi platform defconfigs.
Hello

To confirm this I downloaded the Os Image provided by the Author. https://jumpnowtek.com/downloads/rpi/buildroot/

Then I flashed that image on Raspberry Pi 3 B+. In that case, both Ethernet and wireless Interface were properly loaded and working.

Now When I am building the image using the defconfig provided by the JumpnowTech I am unable to get the Ethernet interface.

I don't know why this is happening?

Return to “Networking and servers”