mathworks/meta-mathworks

Unable to build petalinux image for Pynqz2

Opened this issue · 0 comments

Could you please update the build instructions, especially for Pynq-z2. The sdcard image works fine and boots properly. But when I try to build the image via petalinux, I am facing issues.

I followed the steps, after checking out the pynqz2 branch, to build petalinux, faced two driver issues while building the kernel: ad9467_intbypass_ad9517.stp missing, and something about video for linux. Both I managed to resolve.
After building the boot image and rootfs, while booting the kernel, I get the following error:
`/sbin/getty: invalid option -- 'a'
BusyBox v1.34.1 () multi-call binary.

Usage: getty [OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]

Open TTY, prompt for login name, then invoke /bin/login

-h		Enable hardware RTS/CTS flow control
-L		Set CLOCAL (ignore Carrier Detect state)
-m		Get baud rate from modem's CONNECT status message
-n		Don't prompt for login name
-w		Wait for CR or LF before sending /etc/issue
-i		Don't display /etc/issue
-f ISSUE_FILE	Display ISSUE_FILE instead of /etc/issue
-l LOGIN	Invoke LOGIN instead of /bin/login
-t SEC		Terminate after SEC if no login name is read
-I INITSTR	Send INITSTR before anything else
-H HOST		Log HOST into the utmp file as the hostname

BAUD_RATE of 0 leaves it unchanged
INIT: Id "PS0" respawning too fast: disabled for 5 minutes`

How do I resolve this?