Basically I needed to load Ubuntu 16.04 on a SBC ARMv7. I listed down the pages I used for references.
Links for custom hdf for fpgma
Links for kernel configuration
Links that I used to troubleshoot:
axi timer bug
Since I have a EX2200, I thought I should at least upgrade its firmware. But JunOS firmware upgrade didn’t go as user-friendly as I thought. Anyways, this is what I did to upgrade from 11.1R3.5 to 12.3R12.4
- Don’t use the Web Interface to upgrade. It is slow and does not seem to work.
- Upload the firmware to a web server that allows direct linking.
- The reboot process takes more than 15 minutes. Do not be alarmed if the switch seems to be dead during the process.
Steps via Cli
[email protected]:RE:0% cli
[email protected]> request system software add "Web Link here"
/var/tmp/incoming-package.tgz 748 kB 748 kBps
WARNING: A reboot is required to install the software
WARNING: Use the 'request system reboot' command immediately
[email protected]> request system reboot
Reboot the system ? [yes,no] (no) yes
[email protected]> show version
JUNOS Base OS boot [12.3R12.4]
JUNOS Base OS Software Suite [12.3R12.4]
JUNOS Kernel Software Suite [12.3R12.4]
JUNOS Crypto Software Suite [12.3R12.4]
JUNOS Online Documentation [12.3R12.4]
JUNOS Enterprise Software Suite [12.3R12.4]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R12.4]
JUNOS Routing Software Suite [12.3R12.4]
JUNOS Web Management [12.3R12.4]
JUNOS FIPS mode utilities [12.3R12.4]
Xilinx’s PetaLinux installation guide doesn’t give a simple one liner to install all of its dependencies. So I wrote down what I did.
Tried and tested on Ubuntu 18.04 LTS 64-bit (under non-root user)
- Installation takes about 15 minutes on a ssd due to the extraction and copying of data
- Takes up about 5 GB of space.
- Remember to use a non root user or else the installer will not continue and you have to restart from scratch
sudo apt-get install gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev python2.7 tofrodos gawk xvfb gcc-4.8 g++-4.8 git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gpg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g:i386 libsdl1.2-dev libglib2.0-dev
mkdir -p /opt/pkg/petalinux/2019.1
sudo chmod 755 -R /opt
sudo chown admin:admin -R /opt