please choosego to mobile | Continue to access the PC version
View: 5898|Reply: 3

Ethernet Not working with Buildroot

[Copy link]

2

threads

3

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-8-17 10:38:09 | Show all floors |Read mode
I Build the image using buildroot for orange pi PC . Ethernet is not working, if anyone tried Buildroot image can suggest how to fix this issue
my etc/network/interfaces looks as below
auto eth0
iface eth0 inet dhcp
i am using buildroot buildroot-2016.05.tar.gz and orangepipc_defconfig

9

threads

634

posts

4400

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4400
Published in 2016-8-17 15:04:52 | Show all floors
Configuration is wrong, you are using the one for external NIC while Opi PC has only internal.

  1. BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-plus"
Copy code
change to:
  1. BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc"
Copy code


And it might work if you have the right kernel source ... I am not sure every board is already mainlined.

Beware, H3 mainline kernel does not yet have thermal protection and if you fail to build, you can use our tools, they are working and are more optimized for H3 boards:
https://github.com/igorpecovnik/lib

2

threads

3

posts

34

credits

Novice

Rank: 1

credits
34
 Author| Published in 2016-8-21 09:38:20 | Show all floors
Thanks for reply, i am using Armbian on orangepi it works great for orangepiOne , i want boot up time less than 5 Sec ,
is it possible to speed booting , how to stop HDMI and other unwanted pakeges from Armbian
      I think i have to compile what is good start point

Thanks for helping out Igorpec.

9

threads

634

posts

4400

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4400
Published in 2016-8-21 13:56:36 | Show all floors
Edited by igorpec at 2016-8-21 06:59

You don't need to recompile a kernel - just alter /boot/script.bin (convert to fex, edit and convert back) board configuration and disable HDMI. Check this article:
http://docs.armbian.com/Hardware_Allwinner-H3/

Armbian is already lightweight and optimized system so it's hard to speed up much. Get a good SD card and remove not needed packages, but you won't gain much.
One thought - you can gain some time in uboot since it waits 3seconds for user input - in this case, you need to reconfigure and recompile.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list