Jump to content
  • 0

Pmod Pack Demo issues with rsa


dmack58

Question

Hi, I'm following this tutorial: https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-pmod-pack-demo/start#tutorial

I'm using Ubuntu 18.04 (tutorial was built around 16.04) and petalinux v2015.4

petalinux-config output:

dave@ubuntu-vbox:~/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4$ petalinux-config
INFO: Checking component...
INFO: Config linux

****** hsi v2015.4 (64-bit)
  **** SW Build 1412921 on Wed Nov 18 09:44:32 MST 2015
    ** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.

source /home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/build/linux/hw-description/hw-description.tcl -notrace
INFO: [Common 17-206] Exiting hsi at Sun Oct 21 08:08:29 2018...
[INFO ] config linux


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

[INFO ] generate DTS to /home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/subsystems/linux/configs/device-tree
INFO: [Hsi 55-1698] elapsed time for repository loading 7 seconds
WARNING: ps7_ethernet_0: No reset found
WARNING: ps7_i2c_0: No reset found
WARNING: ps7_i2c_1: No reset found
INFO: [Common 17-206] Exiting hsi at Sun Oct 21 08:09:01 2018...
[INFO ] generate BSP for zynq_fsbl
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Sun Oct 21 08:09:16 2018...
INFO: Config linux/kernel
INFO: Checking if the remote url is a valid git remote repository!
INFO: Fetching remote component linux-kernel
INFO: git archive is not supproted by remote, trying git clone repo instead.
fatal: Operation not supported by protocol.
Cloning into '/home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/build/linux/kernel/download/linux-digilent'...
remote: Enumerating objects: 5701249, done.
remote: Total 5701249 (delta 0), reused 0 (delta 0), pack-reused 5701249
Receiving objects: 100% (5701249/5701249), 1.21 GiB | 1.66 MiB/s, done.
Resolving deltas: 100% (4808158/4808158), done.
Checking out files: 100% (56719/56719), done.
Checking out files: 100% (40283/40283), done.
Note: checking out '86b46b6606eea44c59af56b732e5393f2eb0adce'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 86b46b6606ee drm: xilinx: fb: Get vblank before waiting
[INFO ] oldconfig linux/kernel
INFO: Config linux/rootfs
[INFO ] oldconfig linux/rootfs
INFO: Config linux/u-boot
INFO: Checking if the remote url is a valid git remote repository!
INFO: Fetching remote component u-boot
INFO: git archive is not supproted by remote, trying git clone repo instead.
fatal: Operation not supported by protocol.
Cloning into '/home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/download/u-boot-digilent'...
remote: Enumerating objects: 455991, done.
remote: Total 455991 (delta 0), reused 0 (delta 0), pack-reused 455991
Receiving objects: 100% (455991/455991), 107.10 MiB | 2.55 MiB/s, done.
Resolving deltas: 100% (370689/370689), done.
Checking out files: 100% (13026/13026), done.
Note: checking out '4dd0f06c46085cacc607dabbdf288bef6ad67115'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 4dd0f06c46 configs: zynq-common: Add uEnv.txt support
[INFO ] generate linux/u-boot configuration files
[INFO ] generate linux/u-boot board header files
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Sun Oct 21 08:27:04 2018...
[INFO ] oldconfig linux/u-boot

As far as i can tell, this is a success.

then i try to build and get this:

dave@ubuntu-vbox:~/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4$ petalinux-build

INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
WARNING: /home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/build/linux/kernel/download/linux-digilent already exists.
WARNING: Not fetching from remote url!
WARNING: If you want to get a fresh copy, please run 'petalinux-build -c <COMPONENT> -x mrproper'
WARNING: /home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/download/u-boot-digilent already exists.
WARNING: Not fetching from remote url!
WARNING: If you want to get a fresh copy, please run 'petalinux-build -c <COMPONENT> -x mrproper'
INFO: Building linux
[INFO ] pre-build linux/rootfs/console-blank
[INFO ] pre-build linux/rootfs/fwupgrade
[INFO ] pre-build linux/rootfs/inittab_customisation
[INFO ] pre-build linux/rootfs/oledtest
[INFO ] pre-build linux/rootfs/peekpoke
[INFO ] pre-build linux/rootfs/termcontrol
[INFO ] build system.dtb
[INFO ] build linux/kernel
[INFO ] generate linux/u-boot configuration files
[INFO ] update linux/u-boot source
[INFO ] build linux/u-boot
[ERROR] make[4]: *** [tools/lib/rsa/rsa-sign.o] Error 1
[ERROR] make[3]: *** [tools] Error 2
[ERROR] make[2]: *** [sub-make] Error 2
[ERROR] make[1]: *** [/home/dave/WORK/myzybo/mylinux/pmod/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/u-boot-digilent/u-boot] Error 2
ERROR: Failed to build linux

I'm just not sure where to turn at this point. I've tried googling, but can't find anything that helps.

Any ideas?

Thanks

Dave

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...