Jason,
Following the step from http://beagleboard.org/linux I've got the new kernel
patched and compiled.
I downloaded the latest SD card image from
Latest Software Images - BeagleBoard, extracted and copied it to 8GB empty
sd card with dd command:
sudo dd
if=Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.05-beaglebone-2012.11.22.img
of=/dev/sdb bs=1M
This command created a FAT16 partition for boot and a EXT4 for rootfs.
However, when I boot the beaglebone with this card I get these messages from
terminal:
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Loading file "/boot/uImage" from mmc device 0:2 xxa2
3489560 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Angstrom/3.2.34/beaglebone
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3489496 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Welcome to emergency mode. Use "systemctl default" or ^D to enter default
mode.
Give root password for system maintenance
(or type Control-D for normal startup):systemd-fsck[59]: Angstrom-Cloud9-:
Supe,
systemd-fsck[59]: now = Wed Apr 11 10:15:18 2012) is in the future.
systemd-fsck[59]: Angstrom-Cloud9-: UNEXPECTED INCONSISTENCY; RUN fsck
MANUALLY.
systemd-fsck[59]: (i.e., without -a or -p options)
systemd-fsck[97]: Angstrom-Cloud9-: Superblock last mount time (Mon Jan 14
13:3,
systemd-fsck[97]: now = Wed Apr 11 10:15:41 2012) is in the future.
systemd-fsck[97]: Angstrom-Cloud9-: UNEXPECTED INCONSISTENCY; RUN fsck
MANUAWel.
Give root password for system maintenance
(or type Control-D for normal startup): (here I typed "root")
Entering System Maintenance Mode
root@beaglebone:~# fsck
fsck from util-linux 2.21
root@beaglebone:~#
After this I executed the reboot command, but the problem persists... So I
pressed CTRL+D several times until boot finished and in the next boot the
Angstrom started normally.
I've never seen this behavior. It makes me think something was wrong
with the copy, such as a bad SD card.
I renamed the original uImage to old.uImage and I copied the new uImage
(compiled) from /kernel/kernel/arch/arm/boot to /boot directory in rootfs
partition of Angstrom sd card, but I not found the symlink to uImage with a
link to kernel... (* Delete and replace the uImage symlink with a link the
the kernel you copied over)
Do you know the name of this file?
Yes, you need to delete and replace the uImage symlink with a link to
your newly built kernel. The name of the kernel that is built is:
~/kernel/kernel/arch/arm/boot/uImage-dtb.am335x-bone
That is where you need the symlink to point.
Do you have a bootlog with the new kernel?