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

Creating sdcard for DE1SoC #196

Open
ngohieutruong opened this issue Jul 16, 2020 · 4 comments
Open

Creating sdcard for DE1SoC #196

ngohieutruong opened this issue Jul 16, 2020 · 4 comments

Comments

@ngohieutruong
Copy link

Hello Kraj,
I have a problem about SDcard image.
I was run bitbake core-image-minimal successfully.
But I don't known create an image sdcard (such as de1.iso, de1.img,..)? Do you have guide for this problem?
Thanks, have a nice day!

@dwesterg
Copy link
Contributor

You should be looking for the wic file.

-dalon

@kraj
Copy link
Owner

kraj commented Jul 16, 2020

add

IMAGE_FSTYPES += "wic.xz wic.bmap"

and then you can dd the wic.xz image

$ xzcat <image>-<machine>.wic.xz | sudo dd of=/dev/sdX bs=4M iflag=fullblock oflag=direct conv=fsync status=progress

you can also use map image if you flash multiple times a day see how yoe distro does it.

https://github.com/YoeDistro/yoe-distro

@ngohieutruong
Copy link
Author

thank you for replying
Screenshot from 2020-07-17 18-39-53
Screenshot from 2020-07-17 18-40-02

I have followed your guide. However, it is still not possible to boot Linux on Board. I see in the boot folder on sdcard there is no file.

@kraj
Copy link
Owner

kraj commented Jul 20, 2020

if you are having uncompressed wic image then use

sudo dd of=/dev/sdX bs=4M iflag=fullblock oflag=direct conv=fsync status=progress <path/to/wic/image>

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

3 participants