I only copied the embedded OS and boot files (boot.bin devicetree.dtb opencpi uImage uramdisk.image.gz) - no opencpi/* so no sym links. I think one or more of those files is corrupt. The procedure was:
1. $ sudo cp /opt/opencpi/cdk/zed/sdcard-xilinx13_3/* /media/sf_SD_card
2. Put the SD card in the zedboard and power up
3. Open a putty terminal and log in. Success
4. Put the SD card back into PC/VM/CentOS
5. $ sudo cp /opt/opencpi/cdk/zed/sdcard-xilinx13_4/* /media/sf_SD_card
6. Put the SD card in the zedboard and power up
7. Open a putty terminal and log in. Fails
I am now installing OpenCPI 1.5 in a fresh CentOS 7.5 VM from source. I will run the scripts and build the boot images.
Sincerely,
Peter B. Miller
Potomac: (301) 765-9668
-----Original Message-----
From: James Kulp <jek_at_parera.com>
Sent: Thursday, September 26, 2019 10:56 AM
To: Miller, Peter <PeterM_at_signalscape.com>; discuss_at_lists.opencpi.org
Subject: Re: [Discuss OpenCPI] Programming SD card for Zed
Can you describe the failure? I think I understand, but we're doing more testing.
The sdcard image directories only have symlinks that should remain symlinks, so in fact using cp -L is masking some other problem.
Jim
On 9/26/19 8:09 AM, Miller, Peter wrote:
> ... that would be:
> % sudo cp -RLp /opt/opencpi/cdk/zed/sdcard-xilinx13_4/* /media/xyz
>
> Sincerely,
> Peter B. Miller
> Potomac: (301) 765-9668
>
> -----Original Message-----
> From: discuss <discuss-bounces_at_lists.opencpi.org> On Behalf Of Miller,
> Peter
> Sent: Thursday, September 26, 2019 7:25 AM
> To: James Kulp <jek_at_parera.com>; discuss_at_lists.opencpi.org
> Subject: Re: [Discuss OpenCPI] Programming SD card for Zed
>
> Jim,
> Still trying to get OpenCPI 1.5 from RPM, and Zedboard up. I find that the embedded OS and boot files (boot.bin devicetree.dtb opencpi uImage uramdisk.image.gz) from /opt/opencpi/cdk/zed/sdcard-xilinx13_3 can be copied to SD card and the zedboard boots PetaLinux v2013.10. But using the files from /opt/opencpi/cdk/zed/sdcard-xilinx13_4 the zedboard will not boot.
>
> WORKS:
> % sudo cp /opt/opencpi/cdk/zed/sdcard-xilinx13_3/* /media/sf_SD_card
>
> FAILS:
> % sudo cp /opt/opencpi/cdk/zed/sdcard-xilinx13_4/* /media/sf_SD_card
>
> Also, per Jerry Darko's comment, the instructions in "OpenCPI_Installation.pdf" Section 4.1 should be revised to something like:
> % sudo -RLp cp /opt/opencpi/cdk/zed/sdcard-xilinx13_4/* /media/xyz
>
> Sincerely,
> Peter B. Miller
> Potomac: (301) 765-9668
>
> -----Original Message-----
> From: James Kulp <jek_at_parera.com>
> Sent: Wednesday, September 25, 2019 10:46 AM
> To: Miller, Peter <PeterM_at_signalscape.com>; discuss_at_lists.opencpi.org
> Subject: Re: [Discuss OpenCPI] Programming SD card for Zed
>
> I have certainly had problems with symlinks when mounting a "host" file system into a VM. I solve it by always using NFS, even between a VM and its host.
> I'm not sure that is your issue...
>
> Yes, that is the intention of that directory.
>
> I'm actually doing something similar later today to test some new FPGA loading code...
>
> Jim
>
>
>
>
>
> On 9/25/19 10:39 AM, Miller, Peter wrote:
>> Do you confirm that copying from /opt/opencpi/cdk/zed/sdcard-xilinx13_4/* is correct?
>> Media is write-able - this issue with sym links is a VM problem and I wondered if you had a simple workaround. I'll either chase it down or go to a native linux machine to copy it.
>>
>> Sincerely,
>> Peter B. Miller
>> Potomac: (301) 765-9668
>>
>> -----Original Message-----
>> From: discuss <discuss-bounces_at_lists.opencpi.org> On Behalf Of James
>> Kulp
>> Sent: Wednesday, September 25, 2019 10:32 AM
>> To: discuss_at_lists.opencpi.org
>> Subject: Re: [Discuss OpenCPI] Programming SD card for Zed
>>
>> This is a source-install vs. rpm-install issue, and the docs should be clearer about this distinction. This is in fact a current work item.
>>
>> If looks like the /media was mounted read-only?
>>
>> Both RPM and source installations should allow you to do this.
>>
>> Not sure what the "VM symbolic link issue" is. Other email?
>>
>>
>>
>> On 9/25/19 10:21 AM, Miller, Peter wrote:
>>> Installed using the instructions at https://www.opencpi.org/services
>>> * sudo yum install yum-utils epel-release
>>> * sudo yum-config-manager --add-repo=http://opencpi.github.io/repo/opencpi.repo
>>> * sudo yum install 'opencpi*'
>>> To prepare the Zed SD card, instructions in https://opencpi.github.io/OpenCPI_Installation.pdf Page 23 say:
>>> " ...OpenCPI source tree, its path is: projects/core/rcc/platforms/xilinx13_4"
>>> which is not there. Instead I find the desired content at:
>>> "/opt/opencpi/cdk/zed/sdcard-xilinx13_4"
>>>
>>> The specified procedure to copy to SD in a CentOS7 VM fails:
>>> $ sudo cp -r /opt/opencpi/cdk/zed/sdcard-xilinx13_4/*
>>> /media/sf_SD_card
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/bin/ntpd': Read-only file
>>> system
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/lib/libgmp.so': Read-only file
>>> system
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/lib/libgmp.so.10': Read-only
>>> file system
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/lib/libgmpxx.so': Read-only
>>> file system
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/lib/libgmpxx.so.4': Read-only
>>> file system
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/lib/liblzma.so': Read-only
>>> file system
>>> cp: cannot create symbolic link
>>> '/media/sf_SD_card/opencpi/xilinx13_4/lib/liblzma.so.5': Read-only file system Resulting SD card won't boot the Zedboard.
>>>
>>> Q1. Is the Installation Guide just out of date regarding the location of the content to copy to the SD card?
>>> Q2. Any suggestions for the VM symbolic link copy issue?
>>> Q3. Better to install from source as in "OpenCPI_Installation" rather than from RPMs?
>>>
>>> Sincerely,
>>> Peter B. Miller
>>> Potomac: (301) 765-9668
>>>
>>> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
>>> -------------- next part -------------- An HTML attachment was
>>> scrubbed...
>>> URL:
>>> <http://lists.opencpi.org/pipermail/discuss_lists.opencpi.org/attach
>>> m e nts/20190925/6d8acfb1/attachment.html>
>>> _______________________________________________
>>> discuss mailing list
>>> discuss_at_lists.opencpi.org
>>> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
>>
>> _______________________________________________
>> discuss mailing list
>> discuss_at_lists.opencpi.org
>> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
>> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
>
> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
> _______________________________________________
> discuss mailing list
> discuss_at_lists.opencpi.org
> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
--------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
Received on Thu Sep 26 2019 - 15:15:37 CDT