I was able to build the bsp for minized 2021.1 project without issue. I then load a USB stick and copy the image.ub to it along with my local wpa_supplicant.conf file and then plug it into the minized board. I then run the "update_from_usb.sh" script. It fails of course since the minized board mounts the USB stick as "/dev/sda" and not (as is hard coded in all of the scripts) as "/dev/sda1". So I change them (but of course only for this instance since this will fail again) and re-run the script. It works this time and the image has been copied. I then reboot the board. It does start to load the image but I get the following kernel dump during boot:
8<--- cut here ---
Unhandled fault: imprecise external abort (0xc06) at 0x00000000
pgd = (ptrval)
[00000000] *pgd=00000000
Internal error: Oops - BUG: c06 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.0-xilinx-v2021.1 #1
Hardware name: Xilinx Zynq Platform
PC is at xintc_write+0x6c/0x80
LR is at xil_intc_initial_setup+0x24/0xbc
pc : [<c03a1384>] lr : [<c03a15ac>] psr: 600000d3
sp : c0c01eb0 ip : 00000000 fp : c0c01f74
r10: 1e008000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : e081000c r5 : ffffffff r4 : deb4a14c
r3 : 00000000 r2 : ffffffff r1 : e0810000 r0 : deb4a14c
Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment none
Control: 18c5387d Table: 0000404a DAC: 00000051
Process swapper/0 (pid: 0, stack limit = 0x(ptrval))
Stack: (0xc0c01eb0 to 0xc0c02000)
1ea0: deb4a14c 00000001 00000064 c03a15ac
1ec0: deb4429c 00000001 00000064 00000000 00000000 c03a165c deb4429c c011bd2c
1ee0: 00000000 00000064 00000064 00000000 00000000 c03a1310 c0b3c29c 00000000
1f00: c0c03f14 c011c82c 00000064 c0933c4a 00000001 c03a1644 c0c00000 00000100
1f20: 00000122 c011c8d4 c03a1310 00000000 00000001 deb4a14c c100e000 deb6d250
1f40: 00000000 c0b1b1c0 c03a1310 00000000 00000000 00000000 c1001fc0 00000000
1f60: c0c01f74 c0c01f7c c0c00000 c0b268b8 00000000 c0c01f74 c0c01f74 c1001f80
1f80: c1001f80 00000000 00000000 c0b31a28 c0c00000 c0c54e94 c0c03ec0 00000000
1fa0: c0b31a38 18c5387d 00000000 c0b03310 c0c45000 c0b00b90 ffffffff ffffffff
1fc0: 00000000 c0b00580 00000000 c0b31a38 00000000 00000000 c0b00330 00000051
1fe0: 10c0387d 00000000 07ff6000 413fc090 18c5387d 00000000 00000000 00000000
[<c03a1384>] (xintc_write) from [<c03a15ac>] (xil_intc_initial_setup+0x24/0xbc)
[<c03a15ac>] (xil_intc_initial_setup) from [<c03a165c>] (xil_intc_start+0x18/0x28)
[<c03a165c>] (xil_intc_start) from [<c011bd2c>] (cpuhp_issue_call+0xa0/0x13c)
[<c011bd2c>] (cpuhp_issue_call) from [<c011c82c>] (__cpuhp_setup_state_cpuslocked+0x190/0x1fc)
[<c011c82c>] (__cpuhp_setup_state_cpuslocked) from [<c011c8d4>] (__cpuhp_setup_state+0x3c/0x50)
[<c011c8d4>] (__cpuhp_setup_state) from [<c0b1b1c0>] (xilinx_intc_of_init+0x268/0x2f0)
[<c0b1b1c0>] (xilinx_intc_of_init) from [<c0b268b8>] (of_irq_init+0x1e0/0x280)
[<c0b268b8>] (of_irq_init) from [<c0b03310>] (init_IRQ+0x64/0x74)
[<c0b03310>] (init_IRQ) from [<c0b00b90>] (start_kernel+0x284/0x4a4)
[<c0b00b90>] (start_kernel) from [<00000000>] (0x0)
Code: e8bd8070 e5941000 e0816006 f57ff04e (ebf5c26d)
random: get_random_bytes called from init_oops_id+0x24/0x48 with crng_init=0
---[ end trace 0000000000000000 ]---
Kernel panic - not syncing: Attempted to kill the idle task!
---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
Can anyone tell me what I've done wrong before I do a deep dive into the kernel to see what's going on here?
Cheers!!