Can't get kernel to boot

137 views
Skip to first unread message

Durwin

unread,
Jul 28, 2015, 12:49:44 PM7/28/15
to BeagleBoard
===INFO===
Cross Compiler:                  gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux
Image used:                      Angstrom-TI-GNOME-image-eglibc-ipk-v2012.01-core-beagleboard-2012.01.11.img
Beagleboard Kernel Repository:   https://github.com/beagleboard/linux (remotes/origin/3.13)
Tried kernels from:              https://www.kernel.org/pub/linux/kernel/
See "GOOD BOOT" below for more information
==========

The Angstrom image does boot and network comes up right away.

I Extracted config from uImage of Angstrom.
Merged config with omap2plus_defconfig using 'make olddefconfig'.  Made sure 'Default kernel command string' had this line.

(root=/dev/mmcblk0p2 rootwait console=ttyO2,115200)

My build process includes,

make mrproper     # Then copied extracted config to .config
make olddefconfig
make menuconfig     # make sure CMDLINE was correct, and that SMSC95XX was enabled.
make uImage -j4 LOADADDR=0x80008000
make modules
make modules_install    # I had all my environment variables exported.  Install dir was directed to temporary directory.

I then would copy uImage to /boot on the SD card and module directory to /lib/modules/

Results of kernel 3.0.101 from kernel.org:

This one booted, however, the network never came up and the network device was never found.
This one was successfully patched with patch-3.0.101-rt130.patch.xz from here

Results of kernels from github.com:

The only one which would successfully compile was 3.13.  This one stopped at 'Starting kernel ...'
I have already tried suggestions from HERE

My only idea is the machine id is wrong, however I have no reference on how this is set or changed.
I have looked for the settings suggested to enable the kernel to print its message about the kernel
but with some kernels, it just did not exist, the one that it did exist did not print anything after 'Starting kernel'.

The information at http://beagleboard.org/linux does not work.  Nothing there worked.


===GOOD BOOT===
U-Boot SPL 2011.12-00006-gb1fd369 (Dec 30 2011 - 09:48:45)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.12-00006-gb1fd369 (Dec 30 2011 - 09:48:45)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle xM Rev C
No EEPROM on expansion board
No EEPROM on expansion board
Die ID #101000229ff80000016830c319017022
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

13 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
3372316 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Angstrom/3.0.14/beagleboard
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3372252 Bytes = 3.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution beagleboard ttyO2

Angstrom v2012.01-core - Kernel 3.0.14+

beagleboard login: root
root@beagleboard:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 0E:10:5A:0B:68:01
          inet6 addr: fe80::c10:5aff:fe0b:6801/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1458 (1.4 KiB)  TX bytes:1138 (1.1 KiB)

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

root@beagleboard:~#

Robert Nelson

unread,
Jul 28, 2015, 12:53:24 PM7/28/15
to Beagle Board, dur...@mgtsciences.com
see:

https://groups.google.com/d/msg/beagleboard/IafeGW9q9nA/jQ60iyHjbAsJ
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages