radxa-repo / rbuild

Radxa Image Builder (Maintenance mode)
https://radxa-repo.github.io/rbuild/
GNU General Public License v3.0
54 stars 44 forks source link

Images for cm3-io are not bootable from sd-cadr #33

Open Uiopio opened 1 year ago

Uiopio commented 1 year ago

I used the build utility to create an image of the CM3-IO. I used the command ./rbuild radxa-cm3-io. I recorded the resulting image on the sd-card, but upon startup it gives the following errors: image image

RadxaYuntian commented 1 year ago

We have received your report in email and is looking to reproduce this. This is delayed due to limited CM3 modules we have in the office.

Uiopio commented 1 year ago

Thank you for helping me! I also tried recording on different SD cards and collecting on different computers. It didn't help me.

I also tried to build a separate kernel via bsp with the command ./bsp linux rk356x radxa-cm3-io and add this particular kernel to the image, but this also led to the same problem.

RadxaYuntian commented 1 year ago

Our QA tested the Debian CLI image in b24 release and did not encounter boot issue. Can you check this version first?

If you still have problem with our prebuilt image, then can you confirm that you are indeed using our CM3 IO board instead of 3rd party boards?

Today is the last work day before the Chinese holidays, and right now is less than 20 minutes before we wrap up for the day, so I will get back to you after Oct 8.

Uiopio commented 1 year ago

Here is a photo of the module image

Uiopio commented 1 year ago

I tested images from the repository and they worked great. But as soon as I made the image with the command ./rbuild radxa-cm3-io it did not work.

Uiopio commented 11 months ago

Did you manage to solve the problem?

RadxaYuntian commented 11 months ago

Can you post the output when you run rbuild locally? The released images are also built with rbuild so something might go wrong on your end.

Uiopio commented 11 months ago

https://drive.google.com/drive/folders/1sdB-fr_995wB91JyMp9797rMVl3i4jyV?usp=sharing

I posted the result of rbuild on Google Drive. The textOutput.txt document contains the complete terminal output. I have also attached all the generated files. I did not download the .swap.img file. If you need it, tell me and I will add it.

RadxaYuntian commented 11 months ago

Please try with ./rbuild -r radxa-cm3-io to recreate the rootfs. By default rbuild will save some intermediate steps' output to speed up the build.

Uiopio commented 11 months ago

I added the file textOutput2.txt to Google Drive, which stores the terminal output for command ./rbuild -r radxa-cm3-io

Uiopio commented 11 months ago

I don't see any new files after this command

RadxaYuntian commented 11 months ago

rbuild will overwrite the existing image. Try the image again.

RadxaYuntian commented 11 months ago

Wait I see the build failure. I was updaing the apt repo and the first run timed out. Please wait until the 2nd run is completed successfully before you try it again.

Uiopio commented 11 months ago

The deployment seems to have completed with an error.

RadxaYuntian commented 11 months ago

Yes it seems GitHub is having issues right now. I have started an alternative workflow but if that also fails then there isn't much we can do at the moment.

Uiopio commented 11 months ago

Thank you for your responses.

Uiopio commented 11 months ago

The deployment failed again. It turns out that now it is impossible to successfully complete the build with the command ./rbuild -r radxa-cm3-io?

RadxaYuntian commented 11 months ago

Production Debian Bullseye repo is currently down, but you can use the test repo with -T flag: ./rbuild -r -T radxa-cm3-io

RadxaYuntian commented 11 months ago

Just tried the workflow again and now it worked.

Uiopio commented 11 months ago

The command (./rbuild -r -T radxa-cm3-io) completed successfully and image radxa-cm3-io_debian_bullseye-test_cli.img was generated. But this image also does not work (

RadxaYuntian commented 11 months ago

@nascs @vamrs-feng Feng can you test Debian CLI image for CM3 IO?

Uiopio commented 11 months ago

Let me draw your attention again. What doesn't work is the image that I collect myself from the cloned repository. The images that are in the https://github.com/radxa-build/radxa-cm3-io/releases repository work.

RadxaYuntian commented 11 months ago

Are you sure your local rbuild repo is up-to-date?

Uiopio commented 11 months ago

Yes. I updated it last Friday (13.10.2023)