Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] RaspberryPi U-Boot watchdog
@ 2024-07-24 10:16 José Mendes
  2024-07-24 10:38 ` Waldemar Brodkorb
  2024-07-24 10:58 ` Fiona Klute via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: José Mendes @ 2024-07-24 10:16 UTC (permalink / raw)
  To: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 1713 bytes --]

Hi all,

I'm trying to build a system with redundant rootfs partitions for a
Raspberry Pi 4 with U-Boot.

I'm trying to test the recovery of this system but I can't seem to get the
raspberry pi to reset after a kernel panic on a non-working rootfs.

To provoke this kernel panic I am simply deleting all the files in the
particular rootfs. The system seems to just hang there after the panic:

.....
[    3.374273] Kernel panic - not syncing: No working init found.  Try
passing init= option to kernel. See Linux
Documentation/admin-guide/init.rst for guidance.
[    3.388444] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 6.1.61-v8 #2
[    3.394627] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
[    3.400456] Call trace:
[    3.402897]  dump_backtrace.part.0+0xe8/0x100
[    3.407264]  show_stack+0x20/0x30
[    3.410579]  dump_stack_lvl+0x88/0xb4
[    3.414246]  dump_stack+0x18/0x34
[    3.417561]  panic+0x1a0/0x370
[    3.420618]  kernel_init+0x138/0x140
[    3.424197]  ret_from_fork+0x10/0x20
[    3.427776] SMP: stopping secondary CPUs
[    3.431701] Kernel Offset: 0x1353c00000 from 0xffffffc008000000
[    3.437617] PHYS_OFFSET: 0x0
[    3.440492] CPU features: 0x80000,2013c080,0000421b
[    3.445368] Memory Limit: none
[    3.448423] ---[ end Kernel panic - not syncing: No working init found.
Try passing init= option to kernel. See Linux
Documentation/admin-guide/init.rst for guidance. ]---

What I've tried:
- From `Target packages`: watchdog, watchdogd
- Busybox watchdog
- From linux-menuconfig > device drivers > watchdog
- From uboot-menuconfig > device drivers > watchdog

None of these seem to be working for me.

Best regards,

José Mendes

[-- Attachment #1.2: Type: text/html, Size: 1877 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-24 14:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24 10:16 [Buildroot] RaspberryPi U-Boot watchdog José Mendes
2024-07-24 10:38 ` Waldemar Brodkorb
2024-07-24 10:58 ` Fiona Klute via buildroot
2024-07-24 14:59   ` José Mendes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox