Programming SD card for Zed

MP
Miller, Peter
Wed, Sep 25, 2019 2:21 PM

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.

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.
JK
James Kulp
Wed, Sep 25, 2019 2:31 PM

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.

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. >
MP
Miller, Peter
Wed, Sep 25, 2019 2:39 PM

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@lists.opencpi.org On Behalf Of James Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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/attachme
nts/20190925/6d8acfb1/attachment.html>


discuss mailing list
discuss@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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.

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@lists.opencpi.org> On Behalf Of James Kulp Sent: Wednesday, September 25, 2019 10:32 AM To: discuss@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/attachme > nts/20190925/6d8acfb1/attachment.html> > _______________________________________________ > discuss mailing list > discuss@lists.opencpi.org > http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org _______________________________________________ discuss mailing list discuss@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.
JK
James Kulp
Wed, Sep 25, 2019 2:46 PM

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@lists.opencpi.org On Behalf Of James Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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/attachme
nts/20190925/6d8acfb1/attachment.html>


discuss mailing list
discuss@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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.

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@lists.opencpi.org> On Behalf Of James Kulp > Sent: Wednesday, September 25, 2019 10:32 AM > To: discuss@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/attachme >> nts/20190925/6d8acfb1/attachment.html> >> _______________________________________________ >> discuss mailing list >> discuss@lists.opencpi.org >> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org > > > _______________________________________________ > discuss mailing list > discuss@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.
JD
Jerry Darko
Wed, Sep 25, 2019 3:03 PM

Peter,

If believe  "cp -rL" is what you're looking for, for the symlink issue. The -L option: "always follow symbolic links in SOURCE". The platform specific getting starting guides tell you to use cp -rL when copying the opencpi directory within the sdcard directory.  For example the ZedBoard Getting Starting Guide says for xilinx13_3 run:
cp -rL /opt/opencpi/cdk/zed/sdcard-xilinx13_3/opencpi run/media/<user>/<partition>/

Regards,

Jerry


From: discuss discuss-bounces@lists.opencpi.org on behalf of James Kulp jek@parera.com
Sent: Wednesday, September 25, 2019 10:46 AM
To: Miller, Peter PeterM@signalscape.com; discuss@lists.opencpi.org discuss@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@lists.opencpi.org On Behalf Of James Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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/attachme
nts/20190925/6d8acfb1/attachment.html>


discuss mailing list
discuss@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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.

Peter, If believe "cp -rL" is what you're looking for, for the symlink issue. The -L option: "always follow symbolic links in SOURCE". The platform specific getting starting guides tell you to use cp -rL when copying the opencpi directory within the sdcard directory. For example the ZedBoard Getting Starting Guide says for xilinx13_3 run: cp -rL /opt/opencpi/cdk/zed/sdcard-xilinx13_3/opencpi run/media/<user>/<partition>/ Regards, Jerry ________________________________ From: discuss <discuss-bounces@lists.opencpi.org> on behalf of James Kulp <jek@parera.com> Sent: Wednesday, September 25, 2019 10:46 AM To: Miller, Peter <PeterM@signalscape.com>; discuss@lists.opencpi.org <discuss@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@lists.opencpi.org> On Behalf Of James Kulp > Sent: Wednesday, September 25, 2019 10:32 AM > To: discuss@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/attachme >> nts/20190925/6d8acfb1/attachment.html> >> _______________________________________________ >> discuss mailing list >> discuss@lists.opencpi.org >> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org > > > _______________________________________________ > discuss mailing list > discuss@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. _______________________________________________ discuss mailing list discuss@lists.opencpi.org http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
MP
Miller, Peter
Thu, Sep 26, 2019 11:24 AM

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@parera.com
Sent: Wednesday, September 25, 2019 10:46 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of James
Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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/attachm
e nts/20190925/6d8acfb1/attachment.html>


discuss mailing list
discuss@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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.

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@parera.com> Sent: Wednesday, September 25, 2019 10:46 AM To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of James > Kulp > Sent: Wednesday, September 25, 2019 10:32 AM > To: discuss@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/attachm >> e nts/20190925/6d8acfb1/attachment.html> >> _______________________________________________ >> discuss mailing list >> discuss@lists.opencpi.org >> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org > > > _______________________________________________ > discuss mailing list > discuss@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.
MP
Miller, Peter
Thu, Sep 26, 2019 12:09 PM

... 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@lists.opencpi.org On Behalf Of Miller, Peter
Sent: Thursday, September 26, 2019 7:25 AM
To: James Kulp jek@parera.com; discuss@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@parera.com
Sent: Wednesday, September 25, 2019 10:46 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of James
Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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/attachm
e nts/20190925/6d8acfb1/attachment.html>


discuss mailing list
discuss@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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@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.

... 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@lists.opencpi.org> On Behalf Of Miller, Peter Sent: Thursday, September 26, 2019 7:25 AM To: James Kulp <jek@parera.com>; discuss@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@parera.com> Sent: Wednesday, September 25, 2019 10:46 AM To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of James > Kulp > Sent: Wednesday, September 25, 2019 10:32 AM > To: discuss@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/attachm >> e nts/20190925/6d8acfb1/attachment.html> >> _______________________________________________ >> discuss mailing list >> discuss@lists.opencpi.org >> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org > > > _______________________________________________ > discuss mailing list > discuss@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@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.
JK
James Kulp
Thu, Sep 26, 2019 2:55 PM

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@lists.opencpi.org On Behalf Of Miller, Peter
Sent: Thursday, September 26, 2019 7:25 AM
To: James Kulp jek@parera.com; discuss@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@parera.com
Sent: Wednesday, September 25, 2019 10:46 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of James
Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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/attachm
e nts/20190925/6d8acfb1/attachment.html>


discuss mailing list
discuss@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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@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.

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@lists.opencpi.org> On Behalf Of Miller, Peter > Sent: Thursday, September 26, 2019 7:25 AM > To: James Kulp <jek@parera.com>; discuss@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@parera.com> > Sent: Wednesday, September 25, 2019 10:46 AM > To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of James >> Kulp >> Sent: Wednesday, September 25, 2019 10:32 AM >> To: discuss@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/attachm >>> e nts/20190925/6d8acfb1/attachment.html> >>> _______________________________________________ >>> discuss mailing list >>> discuss@lists.opencpi.org >>> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org >> >> _______________________________________________ >> discuss mailing list >> discuss@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@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.
MP
Miller, Peter
Thu, Sep 26, 2019 3:15 PM

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@parera.com
Sent: Thursday, September 26, 2019 10:56 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of Miller,
Peter
Sent: Thursday, September 26, 2019 7:25 AM
To: James Kulp jek@parera.com; discuss@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@parera.com
Sent: Wednesday, September 25, 2019 10:46 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of James
Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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@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.

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@parera.com> Sent: Thursday, September 26, 2019 10:56 AM To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of Miller, > Peter > Sent: Thursday, September 26, 2019 7:25 AM > To: James Kulp <jek@parera.com>; discuss@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@parera.com> > Sent: Wednesday, September 25, 2019 10:46 AM > To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of James >> Kulp >> Sent: Wednesday, September 25, 2019 10:32 AM >> To: discuss@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@lists.opencpi.org >>> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org >> >> _______________________________________________ >> discuss mailing list >> discuss@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@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.
JK
James Kulp
Thu, Sep 26, 2019 7:02 PM

Hi Peter,

I have just (re)built the xilinx13_4 from source, make the SD card and
successfully executed on it.
This is based on a development branch rather than 1.5, but I don't know
of anything that changed here.

After building the source tree for xilinx13_4 (and the driver), I had to
do (in the source tree):

make deploy Platform=xilinx13_4
make deploy Platform=zed:xilinx13_4

The first line was unexpected and actually also builds RPMs as a side
effect, and we'll clean it up a bit in 1.6.
The result was an SD card in cdk/zed/zed-deploy/sdcard-xilinx13_4
And I used:
cp -R -p cdk/zed/zed-deploy/sdcard-xilinx13_4/* /Volumes/BOOT

(Where /Volumes/Boot was the mount point of the SD card).

I was doing this since we have just done a xilinx19_1_aarch32 version
for zed and I wanted to back-test.

Jim

On 9/26/19 11:15 AM, Miller, Peter wrote:

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@parera.com
Sent: Thursday, September 26, 2019 10:56 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of Miller,
Peter
Sent: Thursday, September 26, 2019 7:25 AM
To: James Kulp jek@parera.com; discuss@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@parera.com
Sent: Wednesday, September 25, 2019 10:46 AM
To: Miller, Peter PeterM@signalscape.com; discuss@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@lists.opencpi.org On Behalf Of James
Kulp
Sent: Wednesday, September 25, 2019 10:32 AM
To: discuss@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@lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org


discuss mailing list
discuss@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@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.

Hi Peter, I have just (re)built the xilinx13_4 from source, make the SD card and successfully executed on it. This is based on a development branch rather than 1.5, but I don't know of anything that changed here. After building the source tree for xilinx13_4 (and the driver), I had to do (in the source tree): make deploy Platform=xilinx13_4 make deploy Platform=zed:xilinx13_4 The first line was unexpected and actually *also* builds RPMs as a side effect, and we'll clean it up a bit in 1.6. The result was an SD card in cdk/zed/zed-deploy/sdcard-xilinx13_4 And I used: cp -R -p cdk/zed/zed-deploy/sdcard-xilinx13_4/* /Volumes/BOOT (Where /Volumes/Boot was the mount point of the SD card). I was doing this since we have just done a xilinx19_1_aarch32 version for zed and I wanted to back-test. Jim On 9/26/19 11:15 AM, Miller, Peter wrote: > 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@parera.com> > Sent: Thursday, September 26, 2019 10:56 AM > To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of Miller, >> Peter >> Sent: Thursday, September 26, 2019 7:25 AM >> To: James Kulp <jek@parera.com>; discuss@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@parera.com> >> Sent: Wednesday, September 25, 2019 10:46 AM >> To: Miller, Peter <PeterM@signalscape.com>; discuss@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@lists.opencpi.org> On Behalf Of James >>> Kulp >>> Sent: Wednesday, September 25, 2019 10:32 AM >>> To: discuss@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@lists.opencpi.org >>>> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org >>> _______________________________________________ >>> discuss mailing list >>> discuss@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@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.