Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Uiopio opened this issue Sep 28, 2023 · 24 comments
Open

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

Uiopio opened this issue Sep 28, 2023 · 24 comments

Comments

@Uiopio
Copy link

Uiopio commented Sep 28, 2023

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
Copy link
Member

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
Copy link
Author

Uiopio commented Sep 28, 2023

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
Copy link
Member

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
Copy link
Author

Uiopio commented Sep 29, 2023

Here is a photo of the module
image

@Uiopio
Copy link
Author

Uiopio commented Sep 29, 2023

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
Copy link
Author

Uiopio commented Oct 12, 2023

Did you manage to solve the problem?

@RadxaYuntian
Copy link
Member

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
Copy link
Author

Uiopio commented Oct 13, 2023

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
Copy link
Member

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
Copy link
Author

Uiopio commented Oct 13, 2023

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

@Uiopio
Copy link
Author

Uiopio commented Oct 13, 2023

I don't see any new files after this command

@RadxaYuntian
Copy link
Member

RadxaYuntian commented Oct 13, 2023

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

@RadxaYuntian
Copy link
Member

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
Copy link
Author

Uiopio commented Oct 13, 2023

The deployment seems to have completed with an error.

@RadxaYuntian
Copy link
Member

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
Copy link
Author

Uiopio commented Oct 13, 2023

Thank you for your responses.

@Uiopio
Copy link
Author

Uiopio commented Oct 13, 2023

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
Copy link
Member

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

@RadxaYuntian
Copy link
Member

Just tried the workflow again and now it worked.

@Uiopio
Copy link
Author

Uiopio commented Oct 13, 2023

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
Copy link
Member

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

@Uiopio
Copy link
Author

Uiopio commented Oct 16, 2023

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
Copy link
Member

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

@Uiopio
Copy link
Author

Uiopio commented Oct 16, 2023

Yes. I updated it last Friday (13.10.2023)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants