Hello,
I have reviewed the kernel panic
in my set up before now meaning I have had this issue.
I think when you use sudo cfdisk /dev/sdc2
, there are particular ways to handle the set up.
For instance:
3. Create the two partitions.
• Start the cfdisk tool for that: sudo cfdisk /dev/mmcblk0
• Chose the dos partition table type 4As explained on https://askubuntu.com/questions/1045993/after-adding-a-group-logoutlogin-is-notenough-in-18-04/. © 2004-2022 Bootlin, CC BY-SA license 9Buildroot Training
• Create a first small partition (128 MB), primary, with type e (W95 FAT16) and mark it bootable
• Create a second partition, also primary, with the rest of the available space, with type 83 (Linux).
• Exit cfdisk but first SAVE THE CONFIGURATION!
When exiting cfdisk, first save the two, separate partitions.
4. Format the first partition as a FAT32 filesystem:
sudo mkfs.vfat-F 32-n boot /dev/mmcblk0p1.
Use sdc1 or sdb1 instead of mmcblk0p1 if needed.
5. Format the second partition as an ext4 filesystem:
sudo mkfs.ext4-L rootfs-E nodiscard /dev/mmcblk0p2.
Use sdc2 or sdb2 instead of mmcblk0p2 if needed.
•-L assigns a volume name to the partition
•-E nodiscard disables bad block discarding. While this should be a useful option for cards with bad blocks, skipping this step saves long minutes in SD cards. Remove the SD card and insert it again, the two partitions should be mounted automatically, in /media/$USER/boot and /media/$USER/rootfs. Now everything should be ready. Hopefully by that time the Buildroot build should have completed. If not, wait a little bit more.
Okay…so the above says it all. But, the step I added is to save your two, SEPARATE
partitions. So, do not just exit the cfdisk utility, first save each one partition and then exit the cfdisk utility.
Seth
P.S. Yep. Just as I thought. Dropbear is for USB network sharing and not for ethernet. Sorry. So, show the /boot/extlinux/extlinux.conf file. Also, you might not need to set up your /etc/network/interface configurations b/c of the Ethernet being a given. I will search through the ideas you gave and see if I can see what has happened.