Difference between revisions of "User talk:RobertCNelson"

From eLinux.org
Jump to: navigation, search
(Wrong default kernel)
m
Line 60: Line 60:
 
:Are you using a different boot loader?
 
:Are you using a different boot loader?
 
:--[[User:XXLRay|XXLRay]] ([[User talk:XXLRay|talk]]) 09:36, 28 May 2014 (UTC)
 
:--[[User:XXLRay|XXLRay]] ([[User talk:XXLRay|talk]]) 09:36, 28 May 2014 (UTC)
 +
 +
Please read and follow:
 +
http://eewiki.net/display/linuxonarm/BeagleBone+Black
 +
 +
You can ingore the rootfs setup, bootloader, uEnv.txt, etc.
 +
--[[User:RobertCNelson|RobertCNelson]] ([[User talk:RobertCNelson|talk]]) 13:29, 28 May 2014 (UTC)

Revision as of 06:29, 28 May 2014

Please use:

https://groups.google.com/forum/#!forum/beagleboard

--RobertCNelson (talk) 16:09, 19 May 2014 (UTC)

How do I enable veth for BeagleBoard

I already placed a question on the Ubuntu for BeagleBone discussion page but didn't get an answer yet. Maybe you could step in. I need to use Linux containers (LXC) on my BeagleBone but the virtual network interface module veth dosn't seem to be enabled in the standard build. Could you tell me how to get it enabled? --XXLRay (talk) 05:10, 19 May 2014 (UTC)

It's pretty easy to enable it with my kernel scripts, so here for hints:

http://wiki.gentoo.org/wiki/LXC#General_Options

--RobertCNelson (talk) 16:35, 19 May 2014 (UTC)

Thank you for the answer but I think I did not explain the issue well enough. I already know how to compile a kernel and I think I also know which option exactly is needed.
My problem is that the pre-build Ubuntu image from this Wiki page does not have veth support. I now see two solutions to overcome this problem:
  1. Install Ubuntu from the given image, download the kernel sources and re-compile the kernel with veth enabled
  2. Adjust the image build script to create the Ubuntu beaglebone image with veth enabled.
So far I was looking at the script beagleboard.org_image.sh but could not find out whether this compiles the kernel or just downloads it. Furthermore would I prefer not to create the kernel config from scratch but just to take one that works fine and only change the veth option.
What I need to know is where I can get the kernel sources that are used for the pre-build image, where I can get the depending kernel config that creates a kernel that runs on a beaglebone and whether the script allows a direct way to set the kernel config.
--XXLRay (talk) 10:35, 20 May 2014 (UTC)


The "beagleboard.org_image.sh" doesn't build anything, it just builds an image from *.deb packages.

The kernel patch-set is always available on https://rcn-ee.net/deb/ and https://github.com/RobertCNelson/bb-kernel just take the output of 'uname -r' to find the exact tag/patchset. --RobertCNelson (talk) 13:46, 20 May 2014 (UTC)

Thank you for coming back to me. I used the last days trying to get it running but unfortunately I haven't succeeded yet.
I started to fetch the kernel sources on my own but unfortunately encounter problems when I try to build the kernel. This is what I did (on the beagle) so far:
  1. wget https://rcn-ee.net/deb/trusty-armhf/v3.8.13-bone54/linux-image-3.8.13-bone54_1.0trusty_armhf.deb
  2. dpkg -i linux-headers-3.8.13-bone54_1.0trusty_armhf.deb
  3. cd /usr/src/linux-headers-3.8.13-bone54
  4. nano .config: CONFIGH_VETH=m
  5. make deb-pkg
Now I encounter the error message "make[3]: *** No rule to make target `arch/arm/tools/gen-mach-types', needed by `include/generated/mach-types.h'. Stop." and the directory /usr/src/linux-headers-3.8.13-bone54/arch/arm/tools/ is indeed empty.
That is why I switched to using your scripts (which seems to be a lot more comfortable)
  1. git clone https://github.com/RobertCNelson/stable-kernel.git
  2. cd stable-kernel
  3. git checkout origin/v3.9.x -b tmp
  4. git config --global user.name "Dummy"
  5. git config --global user.email "dummy@nothing.any"
  6. ./build_kernel.sh
  7. Set "Device Drivers -> Network device support -> Virtual ethernet pair device" to 'M'
  8. ./tools/install_kernel.sh
Unfortunately the board still boots the old kernel.
As follows I tried to install the new kernel by using the package method
  1. ./build_deb.sh
  2. dpkg -i ~ubuntu/stable-kernel/deploy/linux-image-3.9.11-x5_1.0cross_armhf.deb
  3. dpkg -i ~ubuntu/stable-kernel/deploy/linux-headers-3.9.11-x5_1.0cross_armhf.deb
Same problem as before.
I wanted to change the default kernel but there seems to be no grub installed.
  1. update-grub
update-grub: command not found
  1. ls /boot/grub

ls: cannot access /boot/grub: No such file or directory

  1. sudo find / -name grub
  2. sudo find / -name grub.cfg
Are you using a different boot loader?
--XXLRay (talk) 09:36, 28 May 2014 (UTC)

Please read and follow: http://eewiki.net/display/linuxonarm/BeagleBone+Black

You can ingore the rootfs setup, bootloader, uEnv.txt, etc. --RobertCNelson (talk) 13:29, 28 May 2014 (UTC)