BBB hangs at Starting Kernel

715 views
Skip to first unread message

Ratan Yadav

unread,
Jun 29, 2016, 10:31:05 AM6/29/16
to BeagleBoard
Hi All ,


After doing a lot of googling , I am turning to this forum .

I am newbie in Linux and BBB , I am sure this topic might have come multiple times in this forum but unfortunately those could not resolve my issue .

I am facing problem while booting from TFTP .

My kernel is loaded but as soon as it reaches to "Starting kernel" it hangs up completely .

Details shown on terminal is as below .


U-Boot# setenv serverip 192.168.1.5
U-Boot# tftp 0x80200000 uImage-BBB
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.5; our IP address is 192.168.1.7
Filename 'uImage-BBB'.
Load address: 0x80200000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############
         281.3 KiB/s
done
Bytes transferred = 7810336 (772d20 hex)
U-Boot# bootm 0x80200000
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-4.1.24+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7810272 Bytes = 7.4 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...


Thank you in Advance

Robert Nelson

unread,
Jun 29, 2016, 10:33:55 AM6/29/16
to Beagle Board, ratan...@gmail.com
So... "bootm 0x80200000" where's your device tree binary?

Regards,

--
Robert Nelson
https://rcn-ee.com/

Ratan Yadav

unread,
Jun 30, 2016, 11:18:06 AM6/30/16
to BeagleBoard, ratan...@gmail.com




First of all thanks for your time regarding my issue .

Actually I tried , alot of things and above given thing was on of it .

I also tried below process where I had provided dtb as well.


But result was same hanged up at "starting Kernel"  , complete log is as below


U-Boot# setenv ipaddr 192.168.1.7
U-Boot# setenv serverip 192.168.1.5
U-Boot# tftpboot 0x80F80000 am335x-boneblack.dtb

link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.5; our IP address is 192.168.1.7
Filename 'am335x-boneblack.dtb'.
Load address: 0x80f80000
Loading: T ####
         9.8 KiB/s
done
Bytes transferred = 58133 (e315 hex)
U-Boot# tftpboot 0x80007fc0 uImage-BBB

link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.5; our IP address is 192.168.1.7
Filename 'uImage-BBB'.
Load address: 0x80007fc0
Loading: T
TFTP error: 'File not found' (1)
Not retrying...
U-Boot# tftpboot 0x80007FC0 uImage-BBB

link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.5; our IP address is 192.168.1.7
Filename 'uImage-BBB'.
Load address: 0x80007fc0

Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############
         307.6 KiB/s

done
Bytes transferred = 7810336 (772d20 hex)
U-Boot# setenv bootags console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
U-Boot# bootm 0x80007fc0 - 0x80f80000
## Booting kernel from Legacy Image at 80007fc0 ...

   Image Name:   Linux-4.1.24+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7810272 Bytes = 7.4 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   XIP Kernel Image ... OK
OK
   Using Device Tree in place at 80f80000, end 80f91314

Starting kernel ...

Ratan Yadav

unread,
Jul 8, 2016, 8:10:23 AM7/8/16
to BeagleBoard, ratan...@gmail.com

Y M Patil

unread,
Jul 23, 2016, 3:39:31 AM7/23/16
to BeagleBoard
Hi,

Can you try bellow address,

tftpboot 0x88000000 am335x-boneblack_4.1.dtb
tftpboot 0x82000000 uImage_4.1
bootm 0x82000000 - 0x88000000

Regards,


rajen...@gmail.com

unread,
Aug 28, 2016, 4:07:52 PM8/28/16
to BeagleBoard
Hi All,

 Even i am facing same isuue what Ratan is posted above.
can any one help me?

Hi Ratan if you find work around please let me know.

Ratan

unread,
Sep 6, 2016, 7:33:23 AM9/6/16
to BeagleBoard, rajen...@gmail.com
Hi Rajendra ,

Yes  , I did find work around for it after working for so many days on it .

Actually address being used was creating problem .

Please try with below address .



tftpboot 0x88000000 am335x-boneblack_4.1.dtb
tftpboot 0x82000000 uImage_4.1
bootm 0x82000000 - 0x88000000


Thank you
Reply all
Reply to author
Forward
0 new messages