Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kratsg/ec4fe00cf9beb2bb3f1cb19f2e80dda0 to your computer and use it in GitHub Desktop.
Save kratsg/ec4fe00cf9beb2bb3f1cb19f2e80dda0 to your computer and use it in GitHub Desktop.
Xilinx Zynq MP First Stage Boot Loader
Release 2016.4 Mar 21 2017 - 10:11:24
U-Boot 2016.07 (Mar 07 2017 - 14:06:33 -0600) Xilinx ZynqMP ZCU102 revB
I2C: ready
DRAM: 4 GiB
EL Level: EL3
MMC: sdhci@ff170000: 0
Using default environment
In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Bootmode: LVL_SHFT_SD_MODE1
SCSI: SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: ZYNQ GEM: ff0e0000, phyaddr 12, interface rgmii-id
eth0: ethernet@ff0e0000
Error: ethernet@ff0e0000 address ff:ff:ff:ff:ff:ff illegal value
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Device: sdhci@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SL16G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uEnv.txt
309 bytes read in 11 ms (27.3 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
reading system.dtb
29222 bytes read in 17 ms (1.6 MiB/s)
reading Image
12600832 bytes read in 815 ms (14.7 MiB/s)
## Flattened Device Tree blob at 04000000
Booting using the fdt blob at 0x4000000
Loading Device Tree to 000000000fff5000, end 000000000ffff225 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.6.0-xilinx-v2016.3 (kratsg@dc) (gcc version 6.2.0 (GCC) ) #1 SMP PREEMPT Tue Mar 7 14:43:00 CST 2017
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[ 0.000000] bootconsole [cdns0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 256 MiB at 0x0000000070000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] swapper[0]: undefined instruction: pc=ffffff800808f2c0
[ 0.000000] Code: b8236885 29009841 17ffffa5 00000000 (d4000003)
[ 0.000000] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.6.0-xilinx-v2016.3 #1
[ 0.000000] Hardware name: ZynqMP ZCU102 RevB (DT)
[ 0.000000] task: ffffff8008c07400 ti: ffffff8008bf8000 task.ti: ffffff8008bf8000
[ 0.000000] PC is at arm_smccc_smc+0x0/0x20
[ 0.000000] LR is at __invoke_psci_fn_smc+0x28/0x38
[ 0.000000] pc : [<ffffff800808f2c0>] lr : [<ffffff800866e118>] pstate: 000002c5
[ 0.000000] sp : ffffff8008bfbe70
[ 0.000000] x29: ffffff8008bfbe80 x28: 000000000086b000
[ 0.000000] x27: ffffff80080811a8 x26: 0000000000d04000
[ 0.000000] x25: ffffff8008cc2138 x24: 0000000081000200
[ 0.000000] x23: ffffff8008a524a0 x22: ffffff8008c0bb10
[ 0.000000] x21: ffffff8008c14000 x20: ffffff8008ce6000
[ 0.000000] x19: ffffff8008ce6b68 x18: 0000000000000010
[ 0.000000] x17: 0000000000000000 x16: 0000000000000018
[ 0.000000] x15: 0000000000000006 x14: ffffffffffffffff
[ 0.000000] x13: 0000000000000038 x12: 0101010101010101
[ 0.000000] x11: 0000000000000004 x10: 0101010101010101
[ 0.000000] x9 : 0000000000000004 x8 : 0000000000000004
[ 0.000000] x7 : 0000000000000000 x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000000 x4 : 0000000000000000
[ 0.000000] x3 : 0000000000000000 x2 : 0000000000000000
[ 0.000000] x1 : 0000000000000000 x0 : 0000000084000000
[ 0.000000]
[ 0.000000] Process swapper (pid: 0, stack limit = 0xffffff8008bf8020)
[ 0.000000] Stack: (0xffffff8008bfbe70 to 0xffffff8008bfc000)
[ 0.000000] be60: ffffff8008bfbe90 ffffff8008c0bb10
[ 0.000000] be80: ffffff8008bfbeb0 ffffff8008baf010 ffffff8008bfbeb0 ffffff8008698cb4
[ 0.000000] bea0: ffffffc87ffa0da8 ffffffc06fffff00 ffffff8008bfbee0 ffffff8008baf220
[ 0.000000] bec0: ffffff8008c08000 ffffffc06fffff00 ffffff8008c14000 ffffff8008c0bb10
[ 0.000000] bee0: ffffff8008bfbef0 ffffff8008baf370 ffffff8008bfbf10 ffffff8008b88664
[ 0.000000] bf00: ffffff8008c08000 ffffff8008bcc528 ffffff8008bfbfa0 ffffff8008b85650
[ 0.000000] bf20: ffffff8008bc1248 ffffff8008bfd000 ffffff8008c88000 ffffff8008c88000
[ 0.000000] bf40: 0000000000000000 0000000000000000 0000000000d01000 0000000000d04000
[ 0.000000] bf60: ffffff80080811a8 ffffff8008870050 0000000000000001 000000000fff5000
[ 0.000000] bf80: 0000000000000001 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] bfa0: 0000000000000000 ffffff80080811d8 0000000000000400 0000000000000e12
[ 0.000000] bfc0: 000000000fff5000 0000000030d00800 0000000000000000 0000000000000000
[ 0.000000] bfe0: 0000000000000000 ffffff8008bc1248 0000000000000000 0000000000000000
[ 0.000000] Call trace:
[ 0.000000] Exception stack(0xffffff8008bfbca0 to 0xffffff8008bfbdc0)
[ 0.000000] bca0: ffffff8008ce6b68 ffffff8008ce6000 ffffff8008bfbe70 ffffff800808f2c0
[ 0.000000] bcc0: 00000000000002c5 0000000000000000 0000000000000004 ffffff8000030001
[ 0.000000] bce0: ffffff800808f2c0 ffffff8008c8a1e0 0000000000000000 0000000000000029
[ 0.000000] bd00: 0000000000000000 0000000000000029 0000000000000006 00000000000002c0
[ 0.000000] bd20: 0000000100000000 ffffff8008c8ae60 0000000000000000 ffffff8008c9ab50
[ 0.000000] bd40: ffffff8008bfbde0 ffffff80080d6fe8 0000000084000000 0000000000000000
[ 0.000000] bd60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] bd80: 0000000000000000 0000000000000000 0000000000000004 0000000000000004
[ 0.000000] bda0: 0101010101010101 0000000000000004 0101010101010101 0000000000000038
[ 0.000000] [<ffffff800808f2c0>] arm_smccc_smc+0x0/0x20
[ 0.000000] [<ffffff8008baf010>] psci_probe+0x30/0x22c
[ 0.000000] [<ffffff8008baf220>] psci_0_2_init+0x14/0x1c
[ 0.000000] [<ffffff8008baf370>] psci_dt_init+0x30/0x40
[ 0.000000] [<ffffff8008b88664>] setup_arch+0x4f4/0x6ac
[ 0.000000] [<ffffff8008b85650>] start_kernel+0x70/0x3a8
[ 0.000000] [<ffffff80080811d8>] 0xffffff80080811d8
[ 0.000000] Code: b8236885 29009841 17ffffa5 00000000 (d4000003)
[ 0.000000] ---[ end trace cb88537fdc8fa200 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
@jwang4024
Copy link

How did you fix this issue, I see the same issue using JTAG boot and kernel from JTAG boot, did not loaded the fable and pmufw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment