- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SOLVED:
Due to my inexperience with Ubuntu/Linux, I did not know of the symlink files. After finding the "real" files and using them I were able to create the sd-image. Hi, I'm trying to create a sd-card from rebuilt binaries. I've followed the GSRD tutorials on Rocketboards, but I've hit a wall. I have some issues when trying to execute the make_sdimage.py script supplied by Altera/Intel. Here is the script call with parameters:# sudo ./make_sdimage.py
-f
-P preloader-mkpimage.bin,u-boot-sockit.img,num=3,format=raw,size=10M,type=A2
-P rootfs/*,num=2,format=ext3,size=1500M
-P zImage,u-boot.scr,soc_system.rbf,socfpga.dtb,num=1,format=vfat,size=500M
-s 2G
-n sd_card_image_cyclone5.bin
Here is the error output: # info: creating the image sd_card_image_cyclone5.bin# info: creating the partition table# info: processing partitions...
partition# 1...# error: failed to copy zImage
I'm running Ubuntu 16.04 LTS as a virtual image with VirtualBox. Anyone have any ideas what might cause this? Folder contents: https://alteraforum.com/forum/attachment.php?attachmentid=15455&stc=1
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seeing the same problem - Is there a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seeing the same problem - Is there a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did it hang a long time before finally showing an error? When I ran the script it was hanging. I didn't have the patience to wait to see if it finally produced an error. For me, it was a problem with Python interacting with the fdisk command. The system wasn't outputting the output of fdisk in time for the script to interact with it. I think because my virus/security software was doing something with that data buffer in the background. Anyway - what solved it for me was I added stdbuf -i0 -o0 -e0 to the command at the beginning (after sudo and before ./make_sdimage.py .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh - I just saw the OP was edited to have a solution. Ah well perhaps my experience relayed above will help someone else :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
forward forum thread from: https://github.com/thinkoco/c5soc_opencl/issues/12
the python script works fine on ubuntu 16.04 , but get stuck on ubuntu 18.04.
This issue may be fixed by rsarwar87 make_sdimage2.py
https://raw.githubusercontent.com/rsarwar87/altera-soc-rootfs/master/make_sdimage2.py
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On ubuntu 18.04 make_sdimage.py hangs on 'info: creating the partition table
' . make_sdimage2.py did not hang.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page