UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
818 Views
Registered: ‎02-12-2018

TFTP boot kernel panic in 2017.4

- Vivado, SDK, Petalinux: 2017.4
- Device:                           Zynq-7000

 

hello,

 

I am trying to boot using TFTP. I successfully followed UG1144 (satisfying all requirements) and am able to transfer the image over FTP. However, the boot fails and enters kernel panic mode.

 

I attached the complete console output, here is an excerpt:

Hit any key to stop autoboot:  4  3  2  1  0 
Zynq> set serverip 192.168.1.3
Zynq> run netboot
Using ethernet@e000b000 device
TFTP from server 192.168.1.3; our IP address is 192.168.1.16
Filename 'image.ub'.
Load address: 0x10000000
Loading: *#################################################################
	 #################################################################
	 #####################################################################
	 ##############
	 9.1 MiB/s
done
Bytes transferred = 54588240 (340f350 hex)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@1' configuration
   Verifying Hash Integrity ... OK
   Trying 'kernel@0' kernel subimage
     Description:  Linux Kernel
     Type:         Kernel Image
     Compression:  uncompressed

   Loading Kernel Image ... OK
   Loading Ramdisk to 04f77000, end 07fffeb4 ... OK
   Loading Device Tree to 04f6d000, end 04f768d2 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0

Linux version 4.9.0-xilinx-v2017.4 (user@machine) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Sat May 12 12:31:17 WEST 2018

CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d


[<c039c884>] (bus_add_driver) from [<c039d980>] (driver_register+0xa0/0xe0)

[<c039d980>] (driver_register) from [<c0101858>] (do_one_initcall+0x100/0x120)

[<c0101858>] (do_one_initcall) from [<c0800da4>] (kernel_init_freeable+0x190/0x1d8)

[<c0800da4>] (kernel_init_freeable) from [<c05e5c20>] (kernel_init+0x8/0x10c)

[<c05e5c20>] (kernel_init) from [<c0106d18>] (ret_from_fork+0x14/0x3c)

Code: e5933000 e0833002 e5936000 f57ff04f (e5903000) 

---[ end trace 382ee50588efee24 ]---

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b



CPU0: stopping

CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D         4.9.0-xilinx-v2017.4 #1


---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

The image itself is fine, I can boot from SD and in qemu.

Tags (3)
0 Kudos
3 Replies
Moderator
Moderator
806 Views
Registered: ‎09-12-2007

Re: TFTP boot kernel panic in 2017.4

Donyiu have a debbuger open? If so, close this before trying the netboot from uboot
0 Kudos
765 Views
Registered: ‎02-12-2018

Re: TFTP boot kernel panic in 2017.4

No, I did not. I had no instance of Vivado or SDK open.

0 Kudos
Moderator
Moderator
722 Views
Registered: ‎09-12-2007

Re: TFTP boot kernel panic in 2017.4

Is your Programmable logic programmed via the FSBL?

0 Kudos