Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Booting Jetson TX1?



I think reverting this change might fix that panic:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/nvidia/tegra_pcie.c.diff?r1=1.22&r2=1.23

On Thu, 9 Aug 2018, John Klos wrote:

However, I have no idea what could be doing this in the case of a Jetson TX1. Any thoughts?

pci enum

in u-boot seems to fix this.

That definitely helped. It paused for a significantly shorter amount of time throughout booting until it got to "tegrapcie0: lane config: x4 x1". It then paused for about 45 seconds, then it panics:

...
[   1.0000580] tegrapcie0 at simplebus0: PCIE
[   1.0000580] tegrapcie0: interrupting on GIC irq 130
[   1.0000580] tegrapcie0: lane config: x4 x1
[   1.0000580] panic: trap_el1h_error
[   1.0000580] cpu0: Begin traceback...
[   1.0000580] trace fp ffffffc000957480
[ 1.0000580] fp ffffffc0009574a0 vpanic() at ffffffc0003a4018 netbsd:vpanic+0x
190
[ 1.0000580] fp ffffffc000957500 panic() at ffffffc0003a40e4 netbsd:panic+0x44 [ 1.0000580] fp ffffffc000957590 trap_el1h_error() at ffffffc00004becc netbsd:
trap_el1h_error+0x1c
[ 1.0000580] tf ffffffc0009575a0 el1_trap() at ffffffc00004a5b0 netbsd:el1_tra
p
[   1.0000580] ---- trapframe ffffffc0009575a0 (304 bytes) ----
[   1.0000580]     pc=ffffffc000065b28,   spsr=0000000060000005
[   1.0000580]    esr=00000000bf000002,    far=0000000000000000
[   1.0000580]     x0=000000000000ffff,     x1=ffffffc0a0fd0000
[   1.0000580]     x2=0000000000000000,     x3=00000000ffffffff
[   1.0000580]     x4=0000000000000000,     x5=ffffffc0a0fd0000
[   1.0000580]     x6=0000000000000000,     x7=ffffffc00001a778
[   1.0000580]     x8=0000000000000000,     x9=0000000000000006
[   1.0000580]    x10=0000000000000040,    x11=000000000000003f
[   1.0000580]    x12=ffffffff00031740,    x13=ffffffff000317d2
[   1.0000580]    x14=ffffffc000962a98,    x15=ffffffc000c5f4a0
[   1.0000580]    x16=0000000000000074,    x17=000000000000003b
[   1.0000580]    x18=0000000000000003,    x19=000000000000ffff
[   1.0000580]    x20=0000000000010000,    x21=0000000000000000
[   1.0000580]    x22=00000000000000df,    x23=0000000000000000
[   1.0000580]    x24=0000000000100000,    x25=0000000000000001
[   1.0000580]    x26=ffffffc000815b60,    x27=0000000000000008
[   1.0000580]    x28=ffffffc000c5d000, fp=x29=ffffffc0009576d0
[   1.0000580] lr=x30=ffffffc000065678,     sp=ffffffc0009576d0
[   1.0000580] ------------------------------------------------
[ 1.0000580] fp ffffffc0009576d0 probe_bus() at ffffffc000065b28 netbsd:probe_
bus+0x588
[ 1.0000580] fp ffffffc0009577b0 probe_bus() at ffffffc000066060 netbsd:probe_
bus+0xac0
[ 1.0000580] fp ffffffc000957890 pci_configure_bus() at ffffffc0000668e0 netbs
d:pci_configure_bus+0x88
[ 1.0000580] fp ffffffc0009578e0 tegra_pcie_attach() at ffffffc00001af44 netbs
d:tegra_pcie_attach+0x6f4
[ 1.0000580] fp ffffffc000957a50 config_attach_loc() at ffffffc00038b854 netbs
d:config_attach_loc+0x184
[ 1.0000580] fp ffffffc000957aa0 config_found_sm_loc() at ffffffc00038b970 net
bsd:config_found_sm_loc+0x50
[ 1.0000580] fp ffffffc000957ae0 fdt_scan() at ffffffc000484658 netbsd:fdt_sca
n+0x188
[ 1.0000580] fp ffffffc000957cb0 fdt_attach() at ffffffc000484b38 netbsd:fdt_a
ttach+0xe0
[ 1.0000580] fp ffffffc000957cf0 config_attach_loc() at ffffffc00038b854 netbs
d:config_attach_loc+0x184
[ 1.0000580] fp ffffffc000957d40 config_found_sm_loc() at ffffffc00038b970 net
bsd:config_found_sm_loc+0x50
[ 1.0000580] fp ffffffc000957d80 arm_fdt_attach() at ffffffc000037cc4 netbsd:a
rm_fdt_attach+0x64
[ 1.0000580] fp ffffffc000957de0 config_attach_loc() at ffffffc00038b854 netbs
d:config_attach_loc+0x184
[ 1.0000580] fp ffffffc000957e30 cpu_configure() at ffffffc000033b0c netbsd:cp
u_configure+0x44
[ 1.0000580] fp ffffffc000957e60 main() at ffffffc0004bb810 netbsd:main+0x2a0 [ 1.0000580] fp 0000000000000000 aarch64_start() at ffffffc0000017f0 netbsd:aa
rch64_start+0xff0
[   1.0000580] cpu0: End traceback...
Stopped in pid 0.1 (system) at  ffffffc00004a6c0:       ret
db{0}>

There's no response at the db prompt.

Interestingly, another panic printed this as the last line:

Stopped in pid 0.1 (system) at  netbsd:y+-0x90cc20:     ret

y+-0x90cc20? Hmmmm...

I'll try some more stuff later tonight.

Thanks,
John




Home | Main Index | Thread Index | Old Index