quux n00b
Joined: 22 Mar 2013 Posts: 6
|
Posted: Thu Oct 31, 2013 2:22 am Post subject: Beaglebone Black with 3.12 |
|
|
Hi all,
I tried installing Gentoo on the Beaglebone black with the instructions in http://dev.gentoo.org/~armin76/arm/beagleboneblack/install.xml.
However, I couldn't get any output on my screen through the HDMI. I tried installing Arch, and it worked fine there. After a lot of fiddling around, I noticed Arch uses a 3.12 kernel, as opposed to the 3.8 used in the guide.
In summary, all I did differently was just the kernel compilation/installation:
Code: | git clone https://github.com/beagleboard/kernel
cd kernel
git checkout origin/3.12 -b 3.12
./patch.sh
cd kernel
wget "http://arago-project.org/git/projects/?p=am33x-cm3.git;a=blob_plain;f=bin/am335x-pm-firmware.bin;hb=HEAD" -O firmware/am335x-pm-firmware.bin
# http://lists.denx.de/pipermail/u-boot/2011-December/114138.html
LOADADDR=0x80008000 make -j4 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- uImage dtbs
# this assumes that /mnt/p2 is mounted (don't know if it's strictly necessary, but I would guess that yes)
make -j4 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- modules
make -j4 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- INSTALL_MOD_PATH=/mnt/p2 modules_install |
Clarification on LOADADDR:
Unless I added that, uImage would not build:
Code: | make -j4 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- uImage dtbs
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LZO arch/arm/boot/compressed/piggy.lzo
AS arch/arm/boot/compressed/piggy.lzo.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
multiple (or no) load addresses:
This is incompatible with uImages
Specify LOADADDR on the commandline to build an uImage
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2 |
I gave 0x80008000 as a value, because that's what mkimage reported when building 3.8 like in the guide. I don't understand more than that as far as that goes.
I did get HDMI output just like in Arch, but I did not have the time to test it any further.
IMO the problem was a bug in the 3.8 kernel, I got a warning about a recursive dependency (concerning dri and fb if I remember correctly), but I did not save the output. I'll try to find it again later. |
|