This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: AM64x and AM65x, eth0 doesn't come up at boot with static IP

Part Number: AM6442

Hi TI team,

On both AM64x EVM and AM65x EVM I've noticed if I assign a static IP address to eth0 (by changing /etc/network/interfaces and rebooting), eth0 does not assign the static IP at boot. The NIC remains un-configured, but can be fixed by issuing "ifdown eth0 && ifup eth0" twice (one time doesn't seem to do it).

See AM64x EVM console log below showing eth0 is down until I issue ifdown/ifup two times in a row:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am64xx-evm ttyS2
Arago 2020.09 am64xx-evm ttyS2
[ 16.478620] omap_rng 40910000.rng: Random Number Generator ver. 241b34c
[ 16.611492] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: single EMAC mode
[ 17.427651] usbcore: registered new interface driver usbfs
[ 17.478077] usbcore: registered new interface driver hub
[ 17.515878] usbcore: registered new device driver usb
[ 17.936466] remoteproc remoteproc10: powering up 300b4000.pru
[ 17.950552] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 36316
[ 17.965024] remoteproc remoteproc10: unsupported resource 5
[ 17.976961] remoteproc remoteproc10: remote processor 300b4000.pru is now up
[ 17.989697] remoteproc remoteproc11: powering up 30084000.rtu
[ 18.005061] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29944
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX