[quote="CptTitanic"]
# Install additional package required on a raw system, this should cover most
sudo zypper install gcc-c++ bison flex subversion make patch texinfo
wget
http://buildroot.uclibc.org/downloads/b ... 05.tar.bz2tar -xjvf buildroot-2011.05.tar.bz2
cd buildroot-2011.05
make at91sam9g20dfc_defconfig
# To customize, make menuconfig
make
Poof, a fraction of a parsec later a kernel is emitted
Looking at the progress it generates the kernel/images
..
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
Image Name: Linux-2.6.38.7
Created: Mon Nov 14 12:16:58 2011
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1806964 Bytes = 1764.61 kB = 1.72 MB
Load Address: 20008000
Entry Point: 20008000
Image arch/arm/boot/uImage is ready[/quote]
Ok, I did all the steps as you wrote them. First, thank you for clearing explaining things. Second, when I did 'make' it took about an hour. When it was done, there was a file
buildroot-2011.05/output/images/uImage
I assume that is the one I should use. The output I saw did not match what you wrote: here is the tail end of the make command:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
----------------------------------------------------------------------
Libraries have been installed in:
/home/user1/buildroot-2011.05/output/host/usr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/home/user1/buildroot-2011.05/output/host/usr/bin" || /bin/mkdir -p "/home/user1/buildroot-2011.05/output/host/usr/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'faked' '/home/user1/buildroot-2011.05/output/host/usr/bin/faked'
libtool: install: /usr/bin/install -c faked /home/user1/buildroot-2011.05/output/host/usr/bin/faked
make[3]: Leaving directory `/home/user1/buildroot-2011.05/output/build/host-fakeroot-1.9.5'
make[2]: Leaving directory `/home/user1/buildroot-2011.05/output/build/host-fakeroot-1.9.5'
make[1]: Leaving directory `/home/user1/buildroot-2011.05/output/build/host-fakeroot-1.9.5'
>>> host-makedevs undefined Extracting
>>> host-makedevs undefined Patching package/host-makedevs
>>> host-makedevs undefined Configuring
>>> host-makedevs undefined Building
/usr/bin/gcc -O2 -I/home/user1/buildroot-2011.05/output/host/include -I/home/user1/buildroot-2011.05/output/host/usr/include -L/home/user1/buildroot-2011.05/output/host/lib -L/home/user1/buildroot-2011.05/output/host/usr/lib -Wl,-rpath,/home/user1/buildroot-2011.05/output/host/usr/lib package/makedevs/makedevs.c -o /home/user1/buildroot-2011.05/output/build/host-makedevs-undefined/makedevs
>>> host-makedevs undefined 'Installing to host directory'
install -D -m 755 /home/user1/buildroot-2011.05/output/build/host-makedevs-undefined/makedevs /home/user1/buildroot-2011.05/output/host/usr/bin/makedevs
>>> Generating root filesystem image rootfs.tar
rm -f /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
touch /home/user1/buildroot-2011.05/output/build/.fakeroot.00000
cat /home/user1/buildroot-2011.05/output/build/.fakeroot* > /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
echo "chown -R 0:0 /home/user1/buildroot-2011.05/output/target" >> /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
cat target/generic/device_table.txt target/generic/device_table_dev.txt > /home/user1/buildroot-2011.05/output/build/_device_table.txt
echo "/home/user1/buildroot-2011.05/output/host/usr/bin/makedevs -d /home/user1/buildroot-2011.05/output/build/_device_table.txt /home/user1/buildroot-2011.05/output/target" >> /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
echo " tar -c""f /home/user1/buildroot-2011.05/output/images/rootfs.tar -C /home/user1/buildroot-2011.05/output/target ." >> /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
chmod a+x /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
/home/user1/buildroot-2011.05/output/host/usr/bin/fakeroot -- /home/user1/buildroot-2011.05/output/build/_fakeroot.fs
rootdir=/home/user1/buildroot-2011.05/output/target
table='/home/user1/buildroot-2011.05/output/build/_device_table.txt'
rm -f /home/user1/buildroot-2011.05/output/build/.fakeroot*
user1@linux-0mmn:~/buildroot-2011.05>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
U-boot appears to recognize this image. It gets much farther than it used to. This is pretty much what appears in the serial output now:
INIT: version 2.86 booting
Starting udevKernel panic - not syncing: Attempted to kill init!
[<c002d5dc>] (unwind_backtrace+0x0/0xdc) from [<c02588a4>] (panic+0x34/0x120)
[<c02588a4>] (panic+0x34/0x120) from [<c0040d8c>] (do_exit+0x64/0x5b4)
[<c0040d8c>] (do_exit+0x64/0x5b4) from [<c0041364>] (do_group_exit+0x88/0xbc)
[<c0041364>] (do_group_exit+0x88/0xbc) from [<c004b1fc>] (get_signal_to_deliver+
0x2f8/0x334)
[<c004b1fc>] (get_signal_to_deliver+0x2f8/0x334) from [<c002a510>] (do_notify_re
sume+0x70/0x5ac)
[<c002a510>] (do_notify_resume+0x70/0x5ac) from [<c0027e88>] (work_pending+0x1c/
0x20)
INFO: RCU detected CPU 0 stall (t=1000 jiffies)
INFO: RCU detected CPU 0 stall (t=4000 jiffies)
INFO: RCU detected CPU 0 stall (t=7000 jiffies)
INFO: RCU detected CPU 0 stall (t=10000 jiffies)
Is it a problem with the filesystem? I didn't change that - I am using the same one I had used when I used the pre-built kernel image. It is Angstrom-console-at91sam9-image-glibc-ipk-2009.X-stable-at91sam9g20ek.rootfs.jffs2.