Other Parts Discussed in Thread: DP83640
Tool/software: Linux
Hi,
I am debugging my own board which has 2 ethernet ports with PRU functions.
Right now the Linux kernel is running and the ethernets work perfectly as a normal network interfaces (that is no HSR/PRP function).
the SDK is ti-processor-sdk-linux-rt-am335x-evm-04.02.00.09.
Then I wanted to test HSR/PRP functions according to this wiki page:
I used the script setup.sh and tested it between my own boards, they also worked fine.
(1) I set up a HSR ring using 3 boards, each board can ping to the other two boards even any cable disconnected.
(2) I set up PRP network using 2 switcher, each board can ping to the other two boards even any cable disconnected.
1. then we want to test HSR/PRP function with a device from other company, but the HSR does not work.
we found that there are some options like mode H, T, U, setting needed to config,
From the wiki, we can use SNMP commands to change the settings,
so my question is how to use the conmands to set mode like modeH?
there is an example
snmpset -v 2c -c private 192.168.2.20 IEC-62439-3-MIB::lreHsrLREMode.1 i 3
Does the 3 mean a kind of mode?
2, as describe above, we have to use SNMP, so we have to setup HSR/PRP interface with offload.
Then there is another problem when I ifconfig up ethernet port after setting it to offload.
it is ok when I excute commands:
ifconfig eth0 down
ifconfig eth1 down
ethtool -K eth0 hsr-rx-offload on
ethtool -K eth1 hsr-rx-offload on
ifconfig eth0 hw ether $2
ifconfig eth1 hw ether $2
then it happens when I up the port:
root@am335x-evm:~# ifconfig eth1 up
[ 302.227650] Unable to handle kernel paging request at virtual address e17bb000
[ 302.235456] pgd = dcc5c000
[ 302.238181] [e17bb000] *pgd=9cff3811, *pte=00000000, *ppte=00000000
[ 302.248286] Internal error: Oops: 807 [#1] PREEMPT ARM
[ 302.248396] Modules linked in: sha512_generic sha512_arm bc_example(O) des_generic cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo musb_dsps musb_hdrc usbcore phy_am335x phy_generic udc_core usb_common phy_am335x_control bluetooth ecb sha256_generic ti_prueth hmac pru_rproc pruss_intc md5 dp83640 sha1_generic sha1_arm_neon sha1_arm pruss pvrsrvkm(O) pm33xx wkup_m3_ipc wkup_m3_rproc remoteproc virtio_ring virtio omap_aes_driver crypto_engine omap_sham ti_emif_sram pruss_soc_bus c_can_platform omap_rng c_can rng_core can_dev gpio_pca953x spi_omap2_mcspi musb_am335x omap_serial omap_wdt sch_fq_codel uio cryptodev(O)
[ 302.248411] CPU: 0 PID: 802 Comm: ifconfig Tainted: G O 4.9.59-rt23-g273202a0d3 #8
[ 302.248413] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 302.248419] task: dcc10d00 task.stack: daa76000
[ 302.248442] PC is at __memzero+0x24/0x7c
[ 302.248448] LR is at 0x0
[ 302.248455] pc : [<c038ee64>] lr : [<00000000>] psr: 200e0013
[ 302.248455] sp : daa77de4 ip : 00000000 fp : e17afb80
[ 302.248458] r10: da8e4520 r9 : da81ca80 r8 : 00000000
[ 302.248462] r7 : da81ca68 r6 : da92b800 r5 : 00000000 r4 : e17bb000
[ 302.248466] r3 : 00000000 r2 : 00000000 r1 : 00002dc8 r0 : e17bb000
[ 302.248473] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 302.248477] Control: 10c5387d Table: 9cc5c019 DAC: 00000051
[ 302.248482] Process ifconfig (pid: 802, stack limit = 0xdaa76208)
[ 302.248486] Stack: (0xdaa77de4 to 0xdaa78000)
for the full log, please see attached file
U-Boot SPL 2016.05 (Feb 14 2018 - 15:19:39) Trying to boot from MMC2 omap_mmc_init omap_mmc_init reading args spl_load_image_fat_os: error reading image args, err - -1 reading u-boot.img reading u-boot.img reading u-boot.img reading u-boot.img U-Boot 2016.05 (Feb 14 2018 - 15:19:39 +0800) Watchdog enabled DRAM: 512 MiB NAND: 0 MiB MMC: omap_hsmmc_probe omap_hsmmc_probe OMAP SD/MMC: 0, OMAP SD/MMC: 1 Card did not respond to voltage select! ** Bad device mmc 0 ** Using default environment <ethaddr> not set. Validating first E-fuse MAC Net: No ethernet found. Press SPACE to abort autoboot in 2 seconds => boot Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... switch to partitions #0, OK mmc1(part 0) is current device SD/MMC found on device 1 switch to partitions #0, OK mmc1(part 0) is current device SD/MMC found on device 1 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt ** Unable to read file uEnv.txt ** 3587464 bytes read in 322 ms (10.6 MiB/s) 37574 bytes read in 61 ms (600.6 KiB/s) Kernel image @ 0x82000000 [ 0x000000 - 0x36bd88 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff3000, end 8ffff2c5 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.59-rt23-g273202a0d3 (root@tqma28bsp109-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #8 PREEMPT RT Fri Mar 9 17:34:19 AWST 2018 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: TI AM3359 ICE-V2 [ 0.000000] cma: Reserved 24 MiB at 0x9e800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=68e3376e-02 rw rootfstype=ext4 rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 482512K/524288K available (7168K kernel code, 331K rwdata, 2388K rodata, 1024K init, 315K bss, 17200K reserved, 24576K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB) [ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB) [ 0.000000] .data : 0xc0c00000 - 0xc0c52f80 ( 332 kB) [ 0.000000] .bss : 0xc0c52f80 - 0xc0ca1f1c ( 316 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU kthread priority: 1. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000028] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000034] OMAP clocksource: timer1 at 24000000 Hz [ 0.000186] clocksource_probe: no matching clocksources found [ 0.000373] Console: colour dummy device 80x30 [ 0.000502] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000504] This ensures that you still see kernel messages. Please [ 0.000506] update your kernel commandline. [ 0.089189] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216) [ 0.089195] pid_max: default: 32768 minimum: 301 [ 0.089328] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.089333] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090251] CPU: Testing write buffer coherency: ok [ 0.090605] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.093185] devtmpfs: initialized [ 0.105196] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.105570] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.105602] futex hash table entries: 256 (order: 1, 8192 bytes) [ 0.107538] pinctrl core: initialized pinctrl subsystem [ 0.108787] NET: Registered protocol family 16 [ 0.111068] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.179360] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe [ 0.179755] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe [ 0.180094] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio2_pins_default, deferring probe [ 0.180420] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_pins_default, deferring probe [ 0.188248] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.204042] edma 49000000.edma: TI EDMA DMA engine driver [ 0.207281] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe [ 0.207340] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe [ 0.207461] media: Linux media interface: v0.10 [ 0.207516] Linux video capture interface: v2.00 [ 0.207578] pps_core: LinuxPPS API ver. 1 registered [ 0.207585] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.207610] PTP clock support registered [ 0.207651] EDAC MC: Ver: 3.0.0 [ 0.208834] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.209302] Advanced Linux Sound Architecture Driver Initialized. [ 0.210648] clocksource: Switched to clocksource timer1 [ 0.221659] NET: Registered protocol family 2 [ 0.222543] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.222614] TCP bind hash table entries: 4096 (order: 4, 98304 bytes) [ 0.222746] TCP: Hash tables configured (established 4096 bind 4096) [ 0.222834] UDP hash table entries: 256 (order: 2, 16384 bytes) [ 0.222864] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes) [ 0.223034] NET: Registered protocol family 1 [ 0.223536] RPC: Registered named UNIX socket transport module. [ 0.223552] RPC: Registered udp transport module. [ 0.223558] RPC: Registered tcp transport module. [ 0.223564] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.224498] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.226926] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 0.235071] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.236098] NFS: Registering the id_resolver key type [ 0.236142] Key type id_resolver registered [ 0.236151] Key type id_legacy registered [ 0.236204] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.239816] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.239845] io scheduler noop registered [ 0.239853] io scheduler deadline registered [ 0.240008] io scheduler cfq registered (default) [ 0.241510] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.307194] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.311009] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250 [ 0.925369] console [ttyS0] enabled [ 0.930114] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250 [ 0.939915] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 32, base_baud = 3000000) is a 8250 [ 0.949841] [drm] Initialized [ 0.960474] loop: module loaded [ 0.965297] libphy: Fixed MDIO Bus: probed [ 0.971282] mousedev: PS/2 mouse device common for all mice [ 0.977495] i2c /dev entries driver [ 0.986654] NET: Registered protocol family 10 [ 0.992483] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 0.999255] NET: Registered protocol family 17 [ 1.004064] Key type dns_resolver registered [ 1.008602] omap_voltage_late_init: Voltage driver support not added [ 1.023953] OMAP GPIO hardware version 0.1 [ 1.060890] tps65910 0-002d: No interrupt support, no core IRQ [ 1.068707] vrtc: supplied by vbat [ 1.075838] vio: supplied by vbat [ 1.080715] vdd1: supplied by vbat [ 1.085925] vdd2: supplied by vbat [ 1.092555] vdig1: supplied by vbat [ 1.097413] vdig2: supplied by vbat [ 1.102291] vpll: supplied by vbat [ 1.107075] vdac: supplied by vbat [ 1.111870] vaux1: supplied by vbat [ 1.116724] vaux2: supplied by vbat [ 1.121615] vaux33: supplied by vbat [ 1.126542] vmmc: supplied by vbat [ 1.130999] random: fast init done [ 1.134743] vbb: supplied by vbat [ 1.139144] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.146118] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz [ 1.271401] hctosys: unable to open rtc device (rtc0) [ 1.277240] ALSA device list: [ 1.283190] No soundcards found. [ 1.290417] Waiting for root device PARTUUID=68e3376e-02... [ 1.327737] mmc1: new high speed MMC card at address 0001 [ 1.333987] mmcblk1: mmc1:0001 Q2J54A 3.59 GiB [ 1.338862] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 16.0 MiB [ 1.345101] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 16.0 MiB [ 1.352737] mmcblk1: p1 p2 [ 2.066605] EXT4-fs (mmcblk1p2): recovery complete [ 2.072044] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.080260] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 2.087492] devtmpfs: mounted [ 2.092077] Freeing unused kernel memory: 1024K [ 2.307831] systemd[1]: System time before build time, advancing clock. [ 2.347904] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN) [ 2.366733] systemd[1]: Detected architecture arm. Welcome to Arago 2017.10! [ 2.401760] systemd[1]: Set hostname to <am335x-evm>. [ 2.663950] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service' [ 2.926077] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 2.961382] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 2.992183] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 3.021402] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 3.060945] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 3.091173] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Created slice system-getty.slice. [ OK ] Listening on Process Core Dump Socket. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on Network Service Netlink Socket. [ OK ] Reached target Swap. [ OK ] Reached target Paths. [ OK ] Listening on Journal Socket. Starting Create list of required st... nodes for the current kernel... Starting alignment.service... Starting Load Kernel Modules... Starting Setup Virtual Console... Mounting Debug File System... [ 3.594815] cryptodev: loading out-of-tree module taints kernel. Starting Remount Root and Kernel File Systems... [ 3.621242] cryptodev: driver 1.8 loaded. Mounting POSIX Message Queue File System... [ 3.672948] uio_module_drv: disagrees about version of symbol module_layout [ OK ] Listening on Journal Socket (/dev/log). [ 3.715105] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ OK ] Reached target Slices. [ OK ] Listening on Syslog Socket. Mounting Temporary Directory... Starting Journal Service... [ OK ] Mounted Debug File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Temporary Directory. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started alignment.service. [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. [ OK ] Started Setup Virtual Console. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Journal Service. Starting udev Coldplug all Devices... Starting Flush Journal to Persistent Storage... Starting Apply Kernel Variables... Starting Create Static Device Nodes in /dev... [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ 4.543451] systemd-journald[102]: Received request to flush runtime journal from PID 1 Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... [ OK ] Mounted /var/volatile. [ OK ] Mounted /media/ram. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started udev Kernel Device Manager. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started Load/Save Random Seed. [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Synchronized. [ 6.342124] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ OK ] Started udev Coldplug all Devices. [ OK ] Reached target System Initialization. [ 6.526303] zdl set spi in master mode [ 6.530110] zdl in of_spi_register_master -2 1 [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ 6.608868] zdl spi device max speed Hz 1000000,speed_hz 24000000, clkd 2, clkg 0 exclk 2 div 48 [ 6.734336] zdl setup: speed 24000000, sample leading edge, clk normal [ 6.762751] 1-0020 supply vcc not found, using dummy regulator [ 6.793075] pca953x 1-0020: failed reading register [ 6.793212] pca953x: probe of 1-0020 failed with error -121 [ 6.967806] CAN device driver interface [ OK ] Listening on dropbear.socket. [ 7.037105] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ OK ] Started Daily Cleanup of Temporary Directorie[ 7.088137] zdl c_can_plat_probe s. [ OK ] Reached target Timers. [ 7.124790] c_can_platform 481cc000.can: zdl c_can_plat_probe [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activati[ 7.207279] c_can_platform 481cc000.can: zdl c_can_plat_probe2 on Socket. [ OK ] Reached target Sockets. [ 7.286945] c_can_platform 481cc000.can: zdl c_can_plat_probe3 [ OK ] Reached target Basic System. [ 7.399373] c_can_platform 481cc000.can: zdl c_can_plat_probe4 [ 7.471092] c_can_platform 481cc000.can (unnamed net_device) (uninitialized): zdl register c can dev [ OK ] Started System Logging Service. [ 7.546293] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=38) Starting Print notice about GPLv3 packages... [ 7.621608] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 Starting Telephony service... [ 7.728095] remoteproc remoteproc0: wkup_m3 is available Starting Avahi mDNS/DNS-SD Stack... [ 7.775602] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ OK ] Started Kernel Logging Service. [ 7.887432] remoteproc remoteproc0: powering up wkup_m3 [ 7.908132] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices [ 7.909731] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4a300000/intc@4a320000 ! [ 7.910279] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4a300000/intc@4a320000 ! [ 8.010928] davinci_mdio 4a332400.mdio: davinci mdio revision 1.6 [ 8.010940] libphy: 4a332400.mdio: probed [ 8.257590] davinci_mdio 4a332400.mdio: phy[1]: device 4a332400.mdio:01, driver NatSemi DP83640 [ 8.257599] davinci_mdio 4a332400.mdio: phy[3]: device 4a332400.mdio:03, driver NatSemi DP83640 [ 8.335466] remoteproc remoteproc1: 4a334000.pru0 is available [ 8.335581] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully [ 8.359715] remoteproc remoteproc2: 4a338000.pru1 is available [ 8.359832] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully [ 8.502497] prueth pruss_eth: could not get ptp tx irq [ 8.546609] zdl in dp83640_phy_reset [ 8.653342] zdl 0, 2100 [ 8.653429] zdl 1, 78cd [ 8.653559] zdl 2, 2000 [ 8.653689] zdl 3, 5ce1 [ 8.653818] zdl 4, 101 [ 8.658266] zdl 5, 0 [ 8.658369] zdl 6, 4 [ 8.658499] zdl 7, 2001 [ 8.658629] zdl 10, 805 [ 8.658759] zdl 11, 0 [ 8.658888] zdl 12, 2000 [ 8.667973] zdl 13, 0 [ 8.668054] zdl 14, 1 [ 8.668183] zdl 15, 0 [ 8.668314] zdl 16, 14b [ 8.668443] zdl 17, 1 [ 8.670099] zdl 18, 0 [ 8.670199] zdl 19, 21 [ 8.670329] zdl 1a, 804 [ 8.670459] zdl 1b, 0 [ 8.670588] zdl 1c, 2 [ 8.681072] zdl 1d, 6011 [ 8.719686] dp83640: master PTP_STS 0x0100 [ 8.719795] dp83640: master PTP_ESTS 0x00fd [ 8.729177] dp83640: slave PTP_STS 0x0000 [ 8.729284] dp83640: slave PTP_ESTS 0x0000 [ 8.734248] dp83640: slave offset 10984640 nanoseconds [ 8.797363] dp83640: master PTP_STS 0x0100 [ 8.797469] dp83640: master PTP_ESTS 0x007d [ 8.802558] dp83640: slave PTP_STS 0x0000 [ 8.802669] dp83640: slave PTP_ESTS 0x0000 [ 8.812380] dp83640: slave offset 46538600 nanoseconds [ 8.825847] prueth pruss_eth: could not get ptp tx irq [ 8.825898] zdl in dp83640_phy_reset [ 8.910529] zdl 0, 3100 [ 8.962614] zdl 1, 78c9 [ 8.962699] zdl 2, 2000 [ 8.962829] zdl 3, 5ce1 [ 8.962959] zdl 4, 1e1 [ 8.963089] zdl 5, 0 [ 8.963218] zdl 6, 4 [ 8.963349] zdl 7, 2001 [ 8.963479] zdl 10, 0 [ 8.963608] zdl 11, 0 [ 8.963739] zdl 12, 0 [ 8.963868] zdl 13, 0 [ 8.963998] zdl 14, 0 [ 8.964129] zdl 15, 0 [ 8.964259] zdl 16, 100 [ 8.964389] zdl 17, 1 [ 8.964519] zdl 18, 0 [ 8.964649] zdl 19, 8023 [ 8.964779] zdl 1a, 804 [ 8.964909] zdl 1b, 0 [ 8.965038] zdl 1c, 2 [ 8.965169] zdl 1d, 6011 [ 8.968681] dp83640: master PTP_STS 0x0100 [ 8.968809] dp83640: master PTP_ESTS 0x007d [ 8.969459] dp83640: slave PTP_STS 0x0000 [ 8.969589] dp83640: slave PTP_ESTS 0x0000 [ 8.970111] dp83640: slave offset 75787760 nanoseconds [ 9.054957] dp83640: master PTP_STS 0x0100 [ 9.055064] dp83640: master PTP_ESTS 0x007d [ 9.055714] dp83640: slave PTP_STS 0x0000 [ 9.055844] dp83640: slave PTP_ESTS 0x0000 [ 9.056369] dp83640: slave offset 162040240 nanoseconds [ 9.060278] prueth pruss_eth: TI PRU ethernet (type 0) driver initialized [ 9.124955] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 9.141888] omap-aes 53500000.aes: will run requests pump with realtime priority [ 9.194873] PM: Cannot get wkup_m3_ipc handle [ 9.575093] PM: Cannot get wkup_m3_ipc handle [ 9.586002] [drm] Initialized pvr 1.14.3699939 20110701 on minor 0 [ 9.587661] PM: Cannot get wkup_m3_ipc handle [ 11.368631] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Starting uim-sysfs.service... [ OK ] Started D-Bus System Message Bus. [ 12.365244] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268 [ 12.389330] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 12.389382] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192 [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Telephony service. Starting Network Service... Starting Login Service... [ OK ] Found device /dev/ttyS0. [ 13.745924] Bluetooth: Core ver 2.22 [ 13.749658] NET: Registered protocol family 31 [ OK ] Found device /dev/ttyS3. [ OK ] Started Network Service. [ 13.851561] Bluetooth: HCI device and connection manager initialized [ 13.860133] Bluetooth: HCI socket layer initialized [ 13.946115] Bluetooth: L2CAP socket layer initialized [ 14.016741] Bluetooth: SCO socket layer initialized [ 15.975003] PM: no-rtc available, rtc-only mode disabled. [ 16.082179] 47401300.usb-phy supply vcc not found, using dummy regulator [ 16.450630] usbcore: registered new interface driver usbfs [ 16.506595] usbcore: registered new interface driver hub [ 16.633657] usbcore: registered new device driver usb [ 17.495376] remoteproc remoteproc1: powering up 4a334000.pru0 [ 17.547003] remoteproc remoteproc1: Booting fw image ti-pruss/am335x-pru0-prueth-fw.elf, size 5432 [ 17.605837] ti-pruss 4a300000.pruss: configured system_events = 0x0000060000500000 intr_channels = 0x00000095 host_intr = 0x00000115 [ 17.697545] remoteproc remoteproc1: remote processor 4a334000.pru0 is now up [ 17.743771] net eth0: started [ 17.757070] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 17.911187] remoteproc remoteproc2: powering up 4a338000.pru1 [ 17.944344] remoteproc remoteproc2: Booting fw image ti-pruss/am335x-pru1-prueth-fw.elf, size 5508 [ 17.967582] ti-pruss 4a300000.pruss: configured system_events = 0x0060000000a00000 intr_channels = 0x0000012a host_intr = 0x0000022a [ 18.050839] random: crng init done [ 18.058941] remoteproc remoteproc2: remote processor 4a338000.pru1 is now up [ 18.131682] net eth1: started [ 18.152089] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ OK ] Started uim-sysfs.service. Starting rc.pvr.service... [*************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Reached target Network. autoconf binutils cifs-utils cpp-symlinks cpp dosfstools g++-symlinks g++ gawk-dev gawk gcc-symlinks gcc gdb gdbserver glmark2 gstreamer1.0-libav hidapi libcairo-perf-utils libgmp10 libidn11 libmpc3 libmpfr4 libreadline-dev libreadline6 m4-dev m4 make nettle swig-dev swig Starting Permit User Sessions... If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf. Starting Lightning Fast Webserver With Light System Requirements... [ 20.592904] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ] Starting Enable and configure wl18xx bluetooth stack... Starting Simple Network Management Protocol (SNMP) Daemon.... Starting Network Name Resolution... [ OK ] Started Print notice about GPLv3 packages. [ OK ] Started Permit User Sessions. [ OK ] Started Lightning Fast Webserver With Light System Requirements. [ OK ] Started rc.pvr.service. [ OK ] Started Enable and configure wl18xx bluetooth stack. [ 21.388603] NET: Registered protocol family 15 [ OK ] Started Network Name Resolution. [ OK ] Started Login Service. Starting weston.service... [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS3. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started weston.service. Starting telnetd.service... [ 22.098511] Initializing XFRM netlink socket [ OK ] Started telnetd.service. Starting busybox-udhcpd.service... Starting thttpd.service... [ OK ] Started Simple Network Management Protocol (SNMP) Daemon.. [ OK ] Started busybox-udhcpd.service. [ OK ] Started thttpd.service. Starting rng-tools.service... [ OK ] Started rng-tools.service. Starting matrix-gui-2.0.service... [ OK ] Started matrix-gui-2.0.service. Starting thermal-zone-init.service... Starting parse-ip.service... [ OK ] Started thermal-zone-init.service. [ OK ] Started parse-ip.service. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyS0 Arago 2017.10 am335x-evm ttyS0 am335x-evm login: boot Password: [ OK ] Stopped Serial Getty on ttyS0. [ OK ] Started Serial Getty on ttyS0. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyS0 Arago 2017.10 am335x-evm ttyS0 am335x-evm login: _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyS0 Arago 2017.10 am335x-evm ttyS0 am335x-evm login: root Password: root@am335x-evm:~# root@am335x-evm:~# root@am335x-evm:~# root@am335x-evm:~# ifconfig eth0 down [ 64.160792] ti-pruss 4a300000.pruss: unconfigured system_events = 0x0000060000500000 host_intr = 0x00000115 [ 64.170621] remoteproc remoteproc1: stopped remote processor 4a334000.pru0 [ 64.183571] net eth0: stopped root@am335x-evm:~# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:02 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@am335x-evm:~# ifconfig eth1 hw ether 68:C9:0B:E4:9C:DA ifconfig: SIOCSIFHWADDR: Device or resource busy root@am335x-evm:~# ifconfig eth0 hw ether 68:C9:0B:E4:9C:DA root@am335x-evm:~# ethtool -K eth0 hsr-rx-offload on [ 94.225834] prueth pruss_eth eth0: Can't change feature when other device runs [ 94.233255] prueth pruss_eth eth0: set_features() failed (-16); wanted 0x0000a00000004000, left 0x0000000000004000 Could not change any device features root@am335x-evm:~# ethtool -K eth1 hsr-rx-offload on [ 103.507160] prueth pruss_eth eth1: Can't change feature when device runs [ 103.514023] prueth pruss_eth eth1: set_features() failed (-16); wanted 0x0000a00000004000, left 0x0000000000004000 Could not change any device features root@am335x-evm:~# root@am335x-evm:~# ifconfig eth1 down [ 146.320845] ti-pruss 4a300000.pruss: unconfigured system_events = 0x0060000000a00000 host_intr = 0x0000022a [ 146.330711] remoteproc remoteproc2: stopped remote processor 4a338000.pru1 [ 146.337824] net eth1: stopped root@am335x-evm:~# root@am335x-evm:~# ifconfig eth0 hw ether 68:C9:0B:E4:9C:DA root@am335x-evm:~# ifconfig eth1 hw ether 68:C9:0B:E4:9C:DA root@am335x-evm:~# ethtool -K eth1 hsr-rx-offload on Actual changes: l2-fwd-offload: on [requested off] hsr-rx-offload: on root@am335x-evm:~# ethtool -K eth0 hsr-rx-offload on Actual changes: l2-fwd-offload: on [requested off] hsr-rx-offload: on root@am335x-evm:~# root@am335x-evm:~# ifconfig eth0 up [ 205.537915] Unable to handle kernel paging request at virtual address e17b3000 [ 205.545322] pgd = ddf58000 [ 205.548042] [e17b3000] *pgd=9c761811, *pte=00000000, *ppte=00000000 [ 205.558049] Internal error: Oops: 807 [#1] PREEMPT ARM [ 205.558160] Modules linked in: sha512_generic sha512_arm des_generic cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo bc_example(O) musb_dsps musb_hdrc usbcore phy_am335x udc_core phy_generic usb_common phy_am335x_control bluetooth ecb pm33xx sha256_generic hmac ti_prueth pru_rproc pruss_intc md5 dp83640 sha1_generic sha1_arm_neon pruss sha1_arm pvrsrvkm(O) wkup_m3_ipc wkup_m3_rproc remoteproc virtio_ring virtio omap_aes_driver ti_emif_sram crypto_engine omap_sham pruss_soc_bus c_can_platform c_can omap_rng can_dev rng_core gpio_pca953x spi_omap2_mcspi musb_am335x omap_serial omap_wdt sch_fq_codel uio cryptodev(O) [ 205.558174] CPU: 0 PID: 798 Comm: ifconfig Tainted: G O 4.9.59-rt23-g273202a0d3 #8 [ 205.558177] Hardware name: Generic AM33XX (Flattened Device Tree) [ 205.558182] task: daad8d00 task.stack: dc006000 [ 205.558204] PC is at __memzero+0x24/0x7c [ 205.558210] LR is at 0x0 [ 205.558217] pc : [<c038ee64>] lr : [<00000000>] psr: 200e0013 [ 205.558217] sp : dc007de4 ip : 00000000 fp : e17a9b80 [ 205.558220] r10: ddd8fd20 r9 : dc0e0680 r8 : 00000000 [ 205.558224] r7 : dc0e0668 r6 : dde4b000 r5 : 00000000 r4 : e17b3000 [ 205.558228] r3 : 00000000 r2 : 00000000 r1 : 00002dc8 r0 : e17b3000 [ 205.558235] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 205.558239] Control: 10c5387d Table: 9df58019 DAC: 00000051 [ 205.558244] Process ifconfig (pid: 798, stack limit = 0xdc006208) [ 205.558248] Stack: (0xdc007de4 to 0xdc008000) [ 205.558258] 7de0: bf176668 dc0e0410 ddd8f800 00000000 bf174d30 ddd8f800 ddd8f800 [ 205.558268] 7e00: c0c49fa0 c06ea6cc dc0e0624 e17a8000 e17ac000 e17b0000 00000008 00000001 [ 205.558277] 7e20: 00001e08 00001e9c 00001e6c 40302000 ddd8f800 ddd8f800 bf1778c8 00001043 [ 205.558287] 7e40: 00001002 beaf7ab8 00000000 00008914 000000ca c0617934 ddd8f988 ddd8f800 [ 205.558296] 7e60: ddd8f800 ddd8f800 00000001 c0617bc0 ddd8f800 00001002 00000000 ddd8f948 [ 205.558305] 7e80: beaf7ab8 c0617c88 00000000 dc007eb8 00000000 dc05560c beaf7ab8 c0682444 [ 205.558314] 7ea0: daad8d00 ddd8f800 00000014 ddd8f800 dc055600 dc05560c 30687465 00000000 [ 205.558324] 7ec0: 00000000 00000000 000a1043 000000ca 000a692e beaf7dc0 00000000 00008914 [ 205.558333] 7ee0: d7188000 beaf7ab8 c0c49fa0 beaf7ab8 dc006000 00000000 00000003 c05f98dc [ 205.558343] 7f00: beaf7ab8 d7188020 dc0879c0 00008914 beaf7ab8 c0211334 00000000 c0201a0c [ 205.558352] 7f20: 00000003 dc007f50 c087a080 d7188000 c01077a4 dc006000 00000000 c0201b98 [ 205.558361] 7f40: c0c04240 00000000 d7188000 c05f96a8 dd81af10 d71a9820 00000000 00000003 [ 205.558370] 7f60: 00000003 00000000 00000000 dc0879c0 00000003 dc0879c0 00008914 beaf7ab8 [ 205.558379] 7f80: dc006000 00000000 00000003 c0211c18 0009a334 beaf7cac beaf7dce 00000036 [ 205.558389] 7fa0: c01077a4 c01075e0 0009a334 beaf7cac 00000003 00008914 beaf7ab8 0009a334 [ 205.558398] 7fc0: 0009a334 beaf7cac beaf7dce 00000036 0009a2e4 beaf7cac beaf7ab8 00000003 [ 205.558407] 7fe0: 000ba2e0 beaf7a4c 0001a3ac b6e9e116 200e0030 00000003 00000000 00000000 [ 205.558489] [<c038ee64>] (__memzero) from [<bf176668>] (node_table_init+0x24/0xa4 [ti_prueth]) [ 205.558560] [<bf176668>] (node_table_init [ti_prueth]) from [<bf174d30>] (emac_ndo_open+0x13c8/0x18e4 [ti_prueth]) [ 205.558588] [<bf174d30>] (emac_ndo_open [ti_prueth]) from [<c0617934>] (__dev_open+0xb8/0x11c) [ 205.558600] [<c0617934>] (__dev_open) from [<c0617bc0>] (__dev_change_flags+0x94/0x144) [ 205.558608] [<c0617bc0>] (__dev_change_flags) from [<c0617c88>] (dev_change_flags+0x18/0x48) [ 205.558621] [<c0617c88>] (dev_change_flags) from [<c0682444>] (devinet_ioctl+0x6e0/0x7a0) [ 205.558644] [<c0682444>] (devinet_ioctl) from [<c05f98dc>] (sock_ioctl+0x144/0x2b4) [ 205.558659] [<c05f98dc>] (sock_ioctl) from [<c0211334>] (do_vfs_ioctl+0x9c/0x94c) [ 205.558670] [<c0211334>] (do_vfs_ioctl) from [<c0211c18>] (SyS_ioctl+0x34/0x5c) [ 205.558688] [<c0211c18>] (SyS_ioctl) from [<c01075e0>] (ret_fast_syscall+0x0/0x44) [ 205.558700] Code: e52de004 e1a0c002 e1a0e002 e2511040 (a8a0500c) [ 205.940830] ---[ end trace 0000000000000002 ]--- Segmentation fault Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558049] Internal error: Oops: 807 [#1] PREEMPT ARM root@am335x-evm:~# Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558244] Process ifconfig (pid: 798, stack limit = 0xdc006208) Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558248] Stack: (0xdc007de4 to 0xdc008000) Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558258] 7de0: bf176668 dc0e0410 ddd8f800 00000000 bf174d30 ddd8f800 ddd8f800 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558268] 7e00: c0c49fa0 c06ea6cc dc0e0624 e17a8000 e17ac000 e17b0000 00000008 00000001 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558277] 7e20: 00001e08 00001e9c 00001e6c 40302000 ddd8f800 ddd8f800 bf1778c8 00001043 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558287] 7e40: 00001002 beaf7ab8 00000000 00008914 000000ca c0617934 ddd8f988 ddd8f800 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558296] 7e60: ddd8f800 ddd8f800 00000001 c0617bc0 ddd8f800 00001002 00000000 ddd8f948 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558305] 7e80: beaf7ab8 c0617c88 00000000 dc007eb8 00000000 dc05560c beaf7ab8 c0682444 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558314] 7ea0: daad8d00 ddd8f800 00000014 ddd8f800 dc055600 dc05560c 30687465 00000000 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558324] 7ec0: 00000000 00000000 000a1043 000000ca 000a692e beaf7dc0 00000000 00008914 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558333] 7ee0: d7188000 beaf7ab8 c0c49fa0 beaf7ab8 dc006000 00000000 00000003 c05f98dc Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558343] 7f00: beaf7ab8 d7188020 dc0879c0 00008914 beaf7ab8 c0211334 00000000 c0201a0c Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558352] 7f20: 00000003 dc007f50 c087a080 d7188000 c01077a4 dc006000 00000000 c0201b98 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558361] 7f40: c0c04240 00000000 d7188000 c05f96a8 dd81af10 d71a9820 00000000 00000003 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558370] 7f60: 00000003 00000000 00000000 dc0879c0 00000003 dc0879c0 00008914 beaf7ab8 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558379] 7f80: dc006000 00000000 00000003 c0211c18 0009a334 beaf7cac beaf7dce 00000036 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558389] 7fa0: c01077a4 c01075e0 0009a334 beaf7cac 00000003 00008914 beaf7ab8 0009a334 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558398] 7fc0: 0009a334 beaf7cac beaf7dce 00000036 0009a2e4 beaf7cac beaf7ab8 00000003 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558407] 7fe0: 000ba2e0 beaf7a4c 0001a3ac b6e9e116 200e0030 00000003 00000000 00000000 Broadcast message from systemd-journald@am335x-evm (Sat 2017-12-23 13:55:31 UTC): kernel[210]: [ 205.558700] Code: e52de004 e1a0c002 e1a0e002 e2511040 (a8a0500c) root@am335x-evm:~#
3, I notice that the default firmware type is EMAC, this can be changed by setting u-boot args.
but there is another sentence in the wiki:
"Starting Processor SDK 04.01.00, The driver can be configured to switch the protocol while the board is powered up and running Linux kernel."
we are using SDK 04.02.00.09, that means we can switch the protocol setting by ethtool -K xxx?
I also change the u-boot args to pruss1_ethtype=1 but the dmesg display:
prueth pruss_eth: TI PRU ethernet (type 0) driver initialized
that seems not work.