Port-arm archive

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

Re: How to write u-boot bootloader for Jetson TX1



> 2018/06/17 9:44、Jared McNeill <jmcneill%invisible.ca@localhost>:
> Can you try the following patch?
> 
> Index: arch/evbarm/include/bootconfig.h
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/evbarm/include/bootconfig.h,v
	(snip)

I’m sorry to reply too late.
Now I can’t build GENERIC64 kernel from current tree, so I wait that invisible provide kernel with this patch.

The 201806191750Z boot quite later, but will stop again.
	https://sacraya.610t.org/TX1/boot/dmesg.NetBSD.20180619.txt

	(snip)
[   1.0001030] tegrapcie0 at fdt0: PCIE
[   1.0001030] tegrapcie0: interrupting on irq 130
[   1.0001030] tegrapcie0: lane config: x4 x1
[   1.0001030] panic: trap_el1h_error
[   1.0001030] cpu0: Begin traceback...
[   1.0001030] trace fp ffffffc00000a520
[   1.0001030] fp ffffffc00000a5d0 vpanic() at ffffffc0003b991c netbsd:vpanic+0x214
[   1.0001030] fp ffffffc00000a660 panic() at ffffffc0003b9704 netbsd:panic+0x44
[   1.0001030] fp ffffffc00000a670 trap_el1h_error() at ffffffc000059dac netbsd:trap_el1h_error+0x18
[   1.0001030] tf ffffffc00000a680 el1_trap() at ffffffc00005829c netbsd:el1_trap
[   1.0001030] ---- trapframe ffffffc00000a680 (304 bytes) ----
[   1.0001030]     pc=ffffffc000071f0c,   spsr=0000000080000005
[   1.0001030]    esr=00000000bf000000,    far=0000000000000000
[   1.0001030]     x0=0000000000000000,     x1=0000000000010000
[   1.0001030]     x2=000000000000000c,     x3=ffffffc000053f54
[   1.0001030]     x4=ffffffc000054598,     x5=0000000000000001
[   1.0001030]     x6=0000000000000000,     x7=0000000000000000
[   1.0001030]     x8=ffffffc0017e1038,     x9=0000000000000000
[   1.0001030]    x10=ffffffc0017e1080,    x11=0000000000000000
[   1.0001030]    x12=000000000000001f,    x13=ffffffc00000a822
[   1.0001030]    x14=ffff00008200f030,    x15=ffffffc000a5f4a0
[   1.0001030]    x16=00000000000000ed,    x17=00000000a46d810f
[   1.0001030]    x18=000000001a7f9c47,    x19=ffffffc000a5d000
[   1.0001030]    x20=0000000000010000,    x21=0000000000001560
[   1.0001030]    x22=ffffffc000a5f490,    x23=0000000000000000
[   1.0001030]    x24=ffffffc000a5c490,    x25=0000000000000000
[   1.0001030]    x26=000000000000ffff,    x27=0000000000000000
[   1.0001030]    x28=ffffffc00069a000, fp=x29=ffffffc00000a880
[   1.0001030] lr=x30=ffffffc000071ecc,     sp=ffffffc00000a7b0
[   1.0001030] ------------------------------------------------
[   1.0001030] fp ffffffc00000a880 probe_bus() at ffffffc000071f0c netbsd:probe_bus+0x15c
[   1.0001030] fp ffffffc00000a960 probe_bus() at ffffffc0000723f8 netbsd:probe_bus+0x648
[   1.0001030] fp ffffffc00000a9b0 pci_configure_bus() at ffffffc000071d64 netbsd:pci_configure_bus+0x88
[   1.0001030] fp ffffffc00000ab20 tegra_pcie_attach() at ffffffc000029640 netbsd:tegra_pcie_attach+0x790
[   1.0001030] fp ffffffc00000ab80 config_attach_loc() at ffffffc0003a2e10 netbsd:config_attach_loc+0x218
[   1.0001030] fp ffffffc00000acf0 fdt_attach() at ffffffc0004966a0 netbsd:fdt_attach+0x3b8
[   1.0001030] fp ffffffc00000ad50 config_attach_loc() at ffffffc0003a2e10 netbsd:config_attach_loc+0x218
[   1.0001030] fp ffffffc00000add0 arm_fdt_attach() at ffffffc000047a08 netbsd:arm_fdt_attach+0xf8
[   1.0001030] fp ffffffc00000ae30 config_attach_loc() at ffffffc0003a2e10 netbsd:config_attach_loc+0x218
[   1.0001030] fp ffffffc00000ae50 cpu_configure() at ffffffc000042f18 netbsd:cpu_configure+0x3c
[   1.0001030] fp ffffffc00000aec0 main() at ffffffc000357ba0 netbsd:main+0x2b8
[   1.0001030] fp 0000000000000000 aarch64_start() at ffffffc000002000 netbsd:aarch64_start+0x1000
[   1.0001030] cpu0: End traceback...
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        ret

What is going on?



Home | Main Index | Thread Index | Old Index