Create and configure the PetaLinux project.
% cd $TRD_HOME/petalinux % petalinux-create -t project -s zcu102-prod-base-dm10.bsp -n bsp % cd bsp % petalinux-config --silentconfig |
Select the device-tree matching design module 1 and build all Linux image components
% cd $TRD_HOME/petalinux/bsp/project-spec/meta-user/recipes-bsp/device-tree/files/ % rm system-user.dtsi % cp zcu102-base-dm1.dtsi system-user.dtsi % petalinux-build |
Create a boot image.
% cd $TRD_HOME/petalinux/bsp/images/linux % petalinux-package --boot --bif=../../project-spec/boot/dm1.bif --force |
Copy the generated boot image and Linux image to the dm1 SD card directory.
% mkdir -p $TRD_HOME/sd_card/dm1 % cp BOOT.BIN image.ub $TRD_HOME/sd_card/dm1 |
$TRD_HOME/sd_card/dm1
SD card directory to a FAT formatted SD card.The user can now see Linux boot on the serial console:
Starting internet superserver: inetd. Configuring packages on first boot.... (This may take several minutes. Please do not power off the machine.) Running postinst /etc/rpm-postinsts/100-xserver-nodm-init... Running postinst /etc/rpm-postinsts/101-sysvinit-inittab... update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing) INIT: Entering runlevel: 5 Configuring network interfaces... udhcpc (v1.24.1) started Sending select for 172.19.0.177... Lease of 172.19.0.177 obtained, lease time 1800 /etc/udhcpc.d/50default: Adding DNS 172.19.128.1 /etc/udhcpc.d/50default: Adding DNS 172.19.129.1 /etc/udhcpc.d/50default: Adding DNS 172.19.128.3 done. Starting system message bus: dbus. Starting Dropbear SSH server: dropbear. Starting bluetooth: bluetoothd. Starting syslogd/klogd: done * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Telephony daemon Starting tcf-agent: OK Setting console loglevel to 0 ... root@xilinx:~# |