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

eclipse-leda-raspberrypi.tar.xz file containing image with boot partition is FAT16 and not FAT32 #151

Open
christian-kahr-itk opened this issue Sep 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@christian-kahr-itk
Copy link

Describe the bug

We downloaded https://github.com/eclipse-leda/leda-distro/releases/download/v0.1.0-M2/eclipse-leda-raspberrypi.tar.xz
and tried to flash it to SD card according to https://eclipse-leda.github.io/leda/docs/general-usage/raspberry-pi/
but we always got cannot read partition 0 as FAT.

So we checked the partition type and saw it's not FAT32. Linux say it's FAT16 - Windows 7-ZIP identifies it as Windows BDP.

To Reproduce
Steps to reproduce the behaviour:

  1. Download *.tar.xz
  2. flash tar.xz or wic

Expected behaviour
a image to use on RPI 4

Screenshots / Logfiles
2023-09-14_21h38_39

Leda Version (please complete the following information):

  • Version: v0.1.0-M2
  • Machine: raspberrypi4-64
@christian-kahr-itk christian-kahr-itk added the bug Something isn't working label Sep 14, 2023
@vasilvas99
Copy link
Contributor

vasilvas99 commented Sep 18, 2023

Hi, I am failing to reproduce the bug. 7zip shows a similar picture as the one you've posted:
7zip.

My workflow is as follows (Ubuntu 22.04):

  1. Download the tar (note the tar.xz cannot be flashed directly) with:
wget https://github.com/eclipse-leda/leda-distro/releases/download/v0.1.0-M2/eclipse-leda-raspberrypi.tar.xz
  1. Extract the archive with:
 tar -xvf eclipse-leda-raspberrypi.tar.xz -C leda && cd leda
  1. Install bmaptools (ref: https://command-not-found.com/bmaptool)
  2. Flash with bmaptool :
sudo bmaptool copy --bmap sdv-image-all-raspberrypi4-64.wic.bmap sdv-image-all-raspberrypi4-64.wic.bz2 /dev/mmcblk0

Since you mentioned it, I assume you have a Linux machine available, could you try exactly the steps above? Only difference might be that you might have to substitute /dev/mmcblk0 with the actual path to the block device on your machine.

If they fail, could you try with a different sd card?

@christian-kahr-itk
Copy link
Author

@vasilvas99 will give it a try when find again time :D but why didnt you mention in documentation bmaptool?

@vasilvas99
Copy link
Contributor

@vasilvas99 will give it a try when find again time :D but why didnt you mention in documentation bmaptool?

Thanks :)
Bmaptool is mentioned in the doc page you've linked a bit further down:
bmaptools

@christian-kahr-itk
Copy link
Author

ok i will give it a try - i asked my collegue and after seeing it pretty sure we tried too. just one small question. is the tests done on PI3 or PI4? because PI3 can handle FAT16 boot partition but PI4 cannot handle it.

@vasilvas99
Copy link
Contributor

vasilvas99 commented Sep 18, 2023

RPi4B-64 is the only one currently supported. My test board is one of those as well.

Thanks for the the help with debugging

Edit:

Went through the image with wic ls from bitbake, it indeed shows fat16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants