Hey Michael,

as far as I understood you just compiled U-Boot. You will have to compile a Linux kernel too - this will yield either an image with a root filesystem, or the individual files (where the root file system can be mounted as ramdisk).

How you get these largely depends on your build system.
Here are two links explaining it somehow (but for specific boards/environments):
https://yuhei1-horibe.medium.com/booting-linux-with-ramdisk-f6f2d59780dc
https://trac.gateworks.com/wiki/buildroot

The first one sums it up:

To boot Linux OS, 4 things listed below will be needed;

  1. Boot image (includes FSBL, Hardware bitstream and U-Boot)
  2. Linux kernel image (uImage or zImage)
  3. Flattened Device Tree
  4. Root file system image
There might be online sources to get those files - but they will have to fit your specific board and the Linux Kernel version you want to test. Usually you are building them yourself, because that's the image you want to test using LAVA.

To be able to help you better, we would need this information:
- Which board are you using?
- Which build system are you using?

Best regards,
Stefan


On 2024-02-15 02:11, Michael Peddie wrote:
Hi, 
In a previous thread where I was getting help to do a serial connection, I also needed help with the deploy action towards the end, so I'm just continuing that here.

I have been trying to do a deploy action for a couple of days now, and have been unsuccessful thus far. The obvious first hurdle is the image URLs for the various things needed for a tftp deploy action. I have compiled a u-boot kernel, and a DTB came with it, and I managed to sort the few errors I got with those (for now at least). I'm not sure modules are necessary, but I can figure that out later. The biggest issue I'm having is with the ramdisk.

There are many resources online for creating a ramdisk, but it is just a space in the ram for things to be stored temporarily (which I don't mind). But this does not work for lava, as it seems to require a file. I have tried compressing the directory created, and passing that, but because it is still just a directory lava won't accept it after I start the job.
So I'm assuming I have to acquire some kind of image somehow, how can I do this? Is there an online source I can download from? Or if I have to make it, how?

Best regards,
Michael
_______________________________________________
lava-users mailing list -- lava-users@lists.lavasoftware.org
To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s