Hi again, I got some time during the weekend to try this again but I am really stuck. Let me review what I have:
# 1. netbsd-SHEEVAPLUG.ub This file can be loaded from an SD card or USB stick into address 0x2000000 and then `bootm 0x2000000` starts executing the kernel, which works for a while until it hits this error: [ 2.5099662] root on sd0a dumps on sd0b [ 2.5099662] vfs_mountroot: can't open root device [ 2.5099662] cannot mount root, error = 6 I've tried different ways to manual prepare the USB stick with the right partitions but NetBSD insists that it cannot open the root device. Manually doing that is a bad idea anyway. # 2. netbsd-SHEEVAPLUG_INSTALL.gz If I understood correctly, this file contains enough code to trigger the installation, eg, in my USB stick. However, I have no idea how to combine this file with the netbsd-SHEEVAPLUG.ub from above. On Wed, Jul 24, 2024 at 09:11:53AM +0200, Martin Husemann wrote: > > Unfortunately, I can?t find the right documentation on how to use this > > file. Shall I load it to uboot as netbsd.ub or what exactly? Note that I > > currently do not have a running NerBSD system. Is that necessary? > > It is just a kernel, you load the .ub image from u-boot and bootm it. I do not understand what I have to do here. Something like this? fatload mmc 0:1 0x2000000 netbsd-SHEEVAPLUG.ub fatload mmc 0:1 0x??????? netbsd-SHEEVAPLUG_INSTALL bootm 0x2000000 0x??????? Actually I tried that, but it didn't work. I've also searched for older wikis/blogposts/mailing-list and found some explanation on how to combine a ramdisk with a kernel. Unfortunately, that wasn't helpful because (1) the blogpost does not explain how to make that for ub files, but rather for those plain ones without extension and (2) I fear the *_INSTALL file might have a different purpose/format than the ramdisk files. Would you be able to give me a bit more details on how to proceed? Or, in case I missed it, could you please point me to a wiki entry or old mailing list message that discusses that? Just in case, I've got the NetBSD source in the /usr/src directory of my Linux workstation and managed to run some build.sh commands. So if I'd have an easier time running mdsetimage or mkubootimage, I'd be ready for giving a try. Thank you for your help and patience! Best, -Diogo