UserK
UserK

Reputation: 908

File System with Buildroot - Network & Keyboard issues

I'm using Buildroot to create a file system to run on a ARM target.

After a few attempts, I managed to make it work but I noticed a few problems.

It's impossible to install new utilities. I've found this question about opkg and I'll try to include it before the compilation of Buildroot

Is it possible to set the default keyboard layout to it_IT from buildroot instead of loading a configuration file with loadkmap in /etc/rcS?

ping www.google.com

ping: bad address google.com

Is there any specific configuration to do in Buildroot in order to solve this problem?

The network point is the most important.

Here is the output of the ifconfig command:

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:16436  Metric:1
      RX packets:25702 errors:0 dropped:0 overruns:0 frame:0
      TX packets:25702 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:0 (0.0 MB)  TX bytes:0 (0.0 MB)

Upvotes: 0

Views: 2079

Answers (1)

Brix
Brix

Reputation: 31

Regarding you question about keyboard layout: There is no way of setting the keyboard layout from the buildroot configuration.

You need to configure it from an init script under /etc/init.d (not in /etc/init.d/rcS; that script is solely used for running the scripts under /etc/init.d/* and should normally not be modified).

See e.g. http://git.buildroot.org/buildroot/tree/system/skeleton/etc/init.d/S40network for a simple template to base your init script on.

Upvotes: 1

Related Questions