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.

Ethernet is not working in AM4378 custom board

Other Parts Discussed in Thread: AM4378, TPS65218, WL1271, TLV320AIC3107

Dear,

We designed a board using AM4378 which is based on AM437x GP-EVM Ver1.5A.  In our board, Ethernet is not working. I used the same linux which is provided with am437xgp-evm. 

How do i make Ethernet work in our board? Should i set the mac address in the kernel? If  yes, How do i make the changes?

Regards,

Winiston.P

  • Hi Winiston,

    Could you post u-boot bootargs environment variable ('printenv' u-boot command output) to check weather there is MAC address configuration.

    Also after Linux boot execute 'ifconfig -a' command and share the output.



    BR
    Tsvetolin Shulev

  • Dear Tsvetolin,
    Please find our below console message...

    U-Boot SPL 2015.07 (Oct 07 2015 - 14:23:04)
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    reading u-boot.img
    reading u-boot.img


    U-Boot 2015.07 (Oct 07 2015 - 14:23:04 -0400)

    I2C: ready
    DRAM: 2 GiB
    PMIC: TPS65218
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 1 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    3258368 bytes read in 154 ms (20.2 MiB/s)
    45189 bytes read in 9 ms (4.8 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x31b800 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff1000, end 8ffff084 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.1.6-g52c4aa7 (root@rajatrao-Lenovo-IdeaPad-Z510) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #1 PREEMPT Wed Jul 27 13:27:35 IST 2016
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: TI AM437x GP EVM
    [ 0.000000] cma: Reserved 24 MiB at 0xfe400000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522577
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 2043932K/2097148K available (6243K kernel code, 261K rwdata, 2104K rodata, 272K init, 231K bss, 28640K reserved, 24576K cma-reserved, 1294332K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc082f06c (8349 kB)
    [ 0.000000] .init : 0xc0830000 - 0xc0874000 ( 272 kB)
    [ 0.000000] .data : 0xc0874000 - 0xc08b5520 ( 262 kB)
    [ 0.000000] .bss : 0xc08b8000 - 0xc08f1c38 ( 232 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Additional per-CPU info printed with stalls.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000030] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000039] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000175] Console: colour dummy device 80x30
    [ 0.000198] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000203] This ensures that you still see kernel messages. Please
    [ 0.000207] update your kernel commandline.
    [ 0.000222] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [ 0.059267] pid_max: default: 32768 minimum: 301
    [ 0.059363] Security Framework initialized
    [ 0.059404] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.059412] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.060047] Initializing cgroup subsys blkio
    [ 0.060070] Initializing cgroup subsys memory
    [ 0.060115] Initializing cgroup subsys devices
    [ 0.060129] Initializing cgroup subsys freezer
    [ 0.060141] Initializing cgroup subsys perf_event
    [ 0.060166] CPU: Testing write buffer coherency: ok
    [ 0.060505] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.062001] devtmpfs: initialized
    [ 0.070867] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.082070] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.082189] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.082287] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.085139] omap_hwmod: rtc: no dt node
    [ 0.085150] ------------[ cut here ]------------
    [ 0.085176] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2526 _init+0x3d0/0x428()
    [ 0.085182] omap_hwmod: rtc: doesn't have mpu register target base
    [ 0.085187] Modules linked in:
    [ 0.085201] CPU: 0 PID: 1 Comm: swapper Not tainted 4.1.6-g52c4aa7 #1
    [ 0.085207] Hardware name: Generic AM43 (Flattened Device Tree)
    [ 0.085212] Backtrace:
    [ 0.085242] [<c0012968>] (dump_backtrace) from [<c0012b7c>] (show_stack+0x18/0x1c)
    [ 0.085247] r6:000009de r5:c083cbd8 r4:00000000 r3:00000000
    [ 0.085268] [<c0012b64>] (show_stack) from [<c0618974>] (dump_stack+0x20/0x28)
    [ 0.085286] [<c0618954>] (dump_stack) from [<c0039e2c>] (warn_slowpath_common+0x80/0xb8)
    [ 0.085296] [<c0039dac>] (warn_slowpath_common) from [<c0039e9c>] (warn_slowpath_fmt+0x38/0x40)
    [ 0.085301] r8:c083d398 r7:c08b8000 r6:00000000 r5:00000000 r4:c087fac8
    [ 0.085320] [<c0039e68>] (warn_slowpath_fmt) from [<c083cbd8>] (_init+0x3d0/0x428)
    [ 0.085324] r3:c07caa24 r2:c07840a0
    [ 0.085337] [<c083c808>] (_init) from [<c083d3e0>] (__omap_hwmod_setup_all+0x48/0x94)
    [ 0.085342] r9:00000000 r8:c083d398 r7:c08b8000 r6:ee0ca840 r5:c087b1d8 r4:c087fac8
    [ 0.085361] [<c083d398>] (__omap_hwmod_setup_all) from [<c00096cc>] (do_one_initcall+0x88/0x1e0)
    [ 0.085365] r5:c0878c60 r4:c0878c60
    [ 0.085386] [<c0009644>] (do_one_initcall) from [<c0830e90>] (kernel_init_freeable+0x174/0x23c)
    [ 0.085392] r10:c0865c78 r9:00000093 r8:c0865c58 r7:c08b8000 r6:c08b8000 r5:00000001
    [ 0.085405] r4:c0871b38
    [ 0.085426] [<c0830d1c>] (kernel_init_freeable) from [<c0614d6c>] (kernel_init+0x10/0xf4)
    [ 0.085431] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0614d5c
    [ 0.085442] r4:00000000
    [ 0.085454] [<c0614d5c>] (kernel_init) from [<c000f7c8>] (ret_from_fork+0x14/0x2c)
    [ 0.085459] r4:00000000 r3:ee062000
    [ 0.085489] ---[ end trace d7230040cc4f6d71 ]---
    [ 0.142104] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.143822] pinctrl core: initialized pinctrl subsystem
    [ 0.144879] NET: Registered protocol family 16
    [ 0.146135] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.169310] cpuidle: using governor ladder
    [ 0.199302] cpuidle: using governor menu
    [ 0.200635] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [ 0.200688] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [ 0.203263] OMAP GPIO hardware version 0.1
    [ 0.203712] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe
    [ 0.203973] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio2_pins_default, deferring probe
    [ 0.204213] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_pins_default, deferring probe
    [ 0.210929] No ATAGs?
    [ 0.210961] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.210970] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.245785] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.249172] vgaarb: loaded
    [ 0.249658] SCSI subsystem initialized
    [ 0.250160] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
    [ 0.250208] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [ 0.250340] pps_core: LinuxPPS API ver. 1 registered
    [ 0.250347] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.250373] PTP clock support registered
    [ 0.251016] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.251270] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.251894] Switched to clocksource timer1
    [ 0.259680] NET: Registered protocol family 2
    [ 0.260368] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.260441] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.260515] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.260660] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.260681] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.260829] NET: Registered protocol family 1
    [ 0.261165] RPC: Registered named UNIX socket transport module.
    [ 0.261178] RPC: Registered udp transport module.
    [ 0.261183] RPC: Registered tcp transport module.
    [ 0.261188] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.263168] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.263243] audit: initializing netlink subsys (disabled)
    [ 0.263297] audit: type=2000 audit(0.250:1): initialized
    [ 0.268283] VFS: Disk quotas dquot_6.6.0
    [ 0.268458] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.269991] NFS: Registering the id_resolver key type
    [ 0.270047] Key type id_resolver registered
    [ 0.270054] Key type id_legacy registered
    [ 0.270106] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.272375] NET: Registered protocol family 38
    [ 0.272465] bounce: pool size: 64 pages
    [ 0.272480] io scheduler noop registered
    [ 0.272490] io scheduler deadline registered
    [ 0.272546] io scheduler cfq registered (default)
    [ 0.274348] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.276288] backlight supply power not found, using dummy regulator
    [ 0.277781] 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 0.277887] OMAP DSS rev 2.0
    [ 0.278318] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [ 0.280053] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 0.280966] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.283513] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.283940] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 25, base_baud = 3000000) is a 8250
    [ 1.234325] console [ttyS0] enabled
    [ 1.238269] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [ 1.246741] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 26, base_baud = 3000000) is a 8250
    [ 1.256473] [drm] Initialized drm 1.1.0 20060810
    [ 1.270845] brd: module loaded
    [ 1.278442] loop: module loaded
    [ 1.282608] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.291172] mousedev: PS/2 mouse device common for all mice
    [ 1.296906] i2c /dev entries driver
    [ 1.421031] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.429417] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.435888] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [ 1.441759] mmc0: new high speed SDHC card at address aaaa
    [ 1.448254] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 1.453382] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [ 1.461099] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [ 1.467071] mmcblk0: p1 p2
    [ 1.475917] remoteproc0: wkup_m3 is available
    [ 1.480395] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 1.489608] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 1.500296] remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [ 1.514968] oprofile: no performance counters
    [ 1.519457] oprofile: using timer interrupt.
    [ 1.523882] remoteproc0: Falling back to user helper
    [ 1.529432] Initializing XFRM netlink socket
    [ 1.533928] NET: Registered protocol family 17
    [ 1.538434] NET: Registered protocol family 15
    [ 1.543051] Key type dns_resolver registered
    [ 1.547532] omap_voltage_late_init: Voltage driver support not added
    [ 1.554380] ThumbEE CPU extension supported.
    [ 1.558689] Registering SWP/SWPB emulation handler
    [ 1.566107] omapdrm omapdrm.0: DMM not available, disable DMM support
    [ 1.573988] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.580641] [drm] No driver support for vblank timestamp query.
    [ 1.620988] Console: switching to colour frame buffer device 80x30
    [ 1.639179] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 1.645161] omapdrm omapdrm.0: registered panic notifier
    [ 1.671926] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 1.678556] GPIO line 65 (p1) hogged as output/high
    [ 1.683568] GPIO line 92 (eMMC Resetn) hogged as output/high
    [ 1.689808] GPIO line 96 (LCD_BK_EN) hogged as output/high
    [ 1.695826] GPIO line 152 (p24) hogged as output/high
    [ 1.737815] i2c i2c-0: Invalid 7-bit I2C address 0xb8
    [ 1.742976] i2c i2c-0: of_i2c: Failure registering /ocp/i2c@44e0b000/tvp514x@b9
    [ 1.750500] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [ 1.757075] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [ 1.791362] mmc1: MAN_BKOPS_EN bit is not set
    [ 1.799661] mmc1: new high speed MMC card at address 0001
    [ 1.805552] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
    [ 1.810278] mmcblk1boot0: mmc1:0001 MMC04G partition 1 16.0 MiB
    [ 1.816421] mmcblk1boot1: mmc1:0001 MMC04G partition 2 16.0 MiB
    [ 1.822410] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.828532] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 1.836060] libphy: 4a101000.mdio: probed
    [ 1.841362] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [ 1.853453] cpsw 4a100000.ethernet: Detected MACID = c4:be:84:cb:1c:76
    [ 1.860413] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
    [ 1.869299] hctosys: unable to open rtc device (rtc0)
    [ 1.877986] ALSA device list:
    [ 1.880989] No soundcards found.
    [ 1.895055] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 1.901095] mmc2: new high speed SDIO card at address 0001
    [ 3.283850] EXT4-fs (mmcblk0p2): recovery complete
    [ 3.292112] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.300296] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 3.309527] devtmpfs: mounted
    [ 3.313035] Freeing unused kernel memory: 272K (c0830000 - c0874000)

    INIT: version 2.88 booting Starting udev
    udev: Not using udev cache because of changes detected in the following files:
    udev: /proc/version /proc/cmdline /proc/devices
    udev: lib/udev/rules.d/* etc/udev/rules.d/*
    udev: The udev cache will be regenerated. To identify the detected changes,
    udev: compare the cached sysconf at /etc/udev/cache.data
    udev: against the current sysconf at /dev/shm/udev.cache
    [ 4.025804] udevd[108]: starting version 182
    [ 4.542455] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 4.707086] CAN device driver interface
    [ 4.798098] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=123)
    [ 4.948248] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 5.024860] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=124)
    [ 5.118059] remoteproc0: powering up wkup_m3
    [ 5.153024] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 5.161113] remoteproc0: remote processor wkup_m3 is now up
    [ 5.166874] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 5.997629] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [ 6.009761] wl1271_sdio mmc2:0001:2: No irq in platform data
    [ 6.077270] ------------[ cut here ]------------
    [ 6.081927] Kernel BUG at c00fb898 [verbose debug info unavailable]
    [ 6.088220] Internal error: Oops - BUG: 0 [#1] PREEMPT ARM
    [ 6.093727] Modules linked in: cpufreq_voltdm(+) thermal_sys hwmon wlcore_sdio(+) phy_omap_usb2 dwc3_omap extcon omap_rng c_can_platform rng_core c_can can_dev omap_wdt ti_am335x_tsc ti_am335x_tscadc
    [ 6.111641] CPU: 0 PID: 123 Comm: udevd Tainted: G W 4.1.6-g52c4aa7 #1
    [ 6.119328] Hardware name: Generic AM43 (Flattened Device Tree)
    [ 6.125270] task: ed938000 ti: ed932000 task.ti: ed932000
    [ 6.130701] PC is at kfree+0x150/0x158
    [ 6.134477] LR is at wl1271_probe+0x254/0x298 [wlcore_sdio]
    [ 6.140073] pc : [<c00fb898>] lr : [<bf0665bc>] psr: 400e0013
    [ 6.140073] sp : ed933c58 ip : ed933c80 fp : ed933c7c
    [ 6.151597] r10: c008efbc r9 : 00000000 r8 : 00000000
    [ 6.156840] r7 : eec61b2c r6 : ed933c80 r5 : ee5e98b8 r4 : ee3f2a00
    [ 6.163391] r3 : 00000000 r2 : ee5f9000 r1 : 00000000 r0 : ed933c80
    [ 6.169945] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 6.177108] Control: 10c5387d Table: ad93c059 DAC: 00000015
    [ 6.182874] Process udevd (pid: 123, stack limit = 0xed932210)
    [ 6.188728] Stack: (0xed933c58 to 0xed934000)
    [ 6.193102] 3c40: 600d0113 ee3f2a00
    [ 6.201313] 3c60: ee5e98b8 ed1ea1c0 ee3f2a08 00000000 ed933cd4 ed933c80 bf0665bc c00fb754
    [ 6.209524] 3c80: bf067204 00000000 00000000 00000000 00000000 c0409e48 ee331400 ee3f2a00
    [ 6.217736] 3ca0: ed933cc4 ed933cb0 c04b762c c040b450 ee38a000 ee3f2a08 ee3f2a00 00000000
    [ 6.225947] 3cc0: bf06722c bf066fb0 ed933cfc ed933cd8 c04c2cf0 bf066374 c04c2c08 c08e91c0
    [ 6.234158] 3ce0: ee3f2a08 00000000 bf06722c 0000001c ed933d24 ed933d00 c0401900 c04c2c14
    [ 6.242369] 3d00: 00000000 ee3f2a08 bf06722c ee3f2a3c 00000000 bf069000 ed933d44 ed933d28
    [ 6.250580] 3d20: c0401aec c0401790 00000000 00000000 bf06722c c0401a58 ed933d6c ed933d48
    [ 6.258791] 3d40: c03ffcd8 c0401a64 ee16404c ee3f5cb0 ed00ed34 bf06722c ed00ed00 c08a9b08
    [ 6.267002] 3d60: ed933d7c ed933d70 c0401370 c03ffc7c ed933da4 ed933d80 c0401024 c040135c
    [ 6.275213] 3d80: bf0671c4 ed933d90 bf06722c c0878c60 ed211c80 ed211b00 ed933dbc ed933da8
    [ 6.283424] 3da0: c04021a4 c0400ee8 c0878c60 c0878c60 ed933dcc ed933dc0 c04c2ad4 c0402130
    [ 6.291636] 3dc0: ed933ddc ed933dd0 bf069014 c04c2abc ed933e5c ed933de0 c00096cc bf06900c
    [ 6.299847] 3de0: 00000000 ef7b30c4 00000000 00080000 0040003f ee5f9000 ed211b24 ef7b30c4
    [ 6.308058] 3e00: ed933e3c ed933e10 c00c4a4c ed932000 ee001e40 edafdc00 eec65b94 00004fbc
    [ 6.316269] 3e20: ed933e54 ed933e30 c00fb894 c06171ec 00000002 bf067268 00000001 ed211c40
    [ 6.324480] 3e40: ed211b00 00000001 ed211b24 c008efbc ed933e84 ed933e60 c06163b0 c0009650
    [ 6.332691] 3e60: bf0672b0 ed211b00 ed933e84 ed933f48 00000001 bf0672b0 ed933f44 ed933e88
    [ 6.340902] 3e80: c0091c7c c061635c bf067274 00007fff c008ef0c c01092dc 0003adc5 00000001
    [ 6.349113] 3ea0: f075b000 bf067274 00000000 f07884f8 bf0675f8 bf067274 b6edf574 bf0673a8
    [ 6.357324] 3ec0: bf067394 bf067268 0002fcc2 00000000 0b300002 000381a4 00000001 00000000
    [ 6.365534] 3ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 6.373745] 3f00: 00000000 00000000 00000000 00000000 00000000 00000000 ed933f34 00000000
    [ 6.381956] 3f20: 00000005 b6edf574 0000017b c000f8c4 ed932000 00000000 ed933fa4 ed933f48
    [ 6.390167] 3f40: c0092448 c0090454 f075b000 0003adc5 f0787f08 f0787da1 f07958a8 000013a8
    [ 6.398377] 3f60: 00001608 00000000 00000000 00000000 00000026 00000027 00000010 0000000d
    [ 6.406588] 3f80: 00000009 00000000 00000000 00000000 00000000 beb15cc4 00000000 ed933fa8
    [ 6.414799] 3fa0: c000f720 c00923e4 00000000 00000000 00000005 b6edf574 00000000 00000000
    [ 6.423010] 3fc0: 00000000 00000000 beb15cc4 0000017b 0002f814 0005c578 00000000 0005c450
    [ 6.431221] 3fe0: beb15be8 beb15bd8 b6ed7d9c b6e73c52 80060030 00000005 017424b3 0ea20006
    [ 6.439427] Backtrace:
    [ 6.441900] [<c00fb748>] (kfree) from [<bf0665bc>] (wl1271_probe+0x254/0x298 [wlcore_sdio])
    [ 6.450283] r8:00000000 r7:ee3f2a08 r6:ed1ea1c0 r5:ee5e98b8 r4:ee3f2a00 r3:600d0113
    [ 6.458102] [<bf066368>] (wl1271_probe [wlcore_sdio]) from [<c04c2cf0>] (sdio_bus_probe+0xe8/0xfc)
    [ 6.467096] r8:bf066fb0 r7:bf06722c r6:00000000 r5:ee3f2a00 r4:ee3f2a08
    [ 6.473871] [<c04c2c08>] (sdio_bus_probe) from [<c0401900>] (driver_probe_device+0x17c/0x288)
    [ 6.482427] r8:0000001c r7:bf06722c r6:00000000 r5:ee3f2a08 r4:c08e91c0 r3:c04c2c08
    [ 6.490239] [<c0401784>] (driver_probe_device) from [<c0401aec>] (__driver_attach+0x94/0x98)
    [ 6.498709] r8:bf069000 r7:00000000 r6:ee3f2a3c r5:bf06722c r4:ee3f2a08 r3:00000000
    [ 6.506520] [<c0401a58>] (__driver_attach) from [<c03ffcd8>] (bus_for_each_dev+0x68/0x9c)
    [ 6.514727] r6:c0401a58 r5:bf06722c r4:00000000 r3:00000000
    [ 6.520436] [<c03ffc70>] (bus_for_each_dev) from [<c0401370>] (driver_attach+0x20/0x28)
    [ 6.528469] r6:c08a9b08 r5:ed00ed00 r4:bf06722c
    [ 6.533126] [<c0401350>] (driver_attach) from [<c0401024>] (bus_add_driver+0x148/0x1f4)
    [ 6.541166] [<c0400edc>] (bus_add_driver) from [<c04021a4>] (driver_register+0x80/0x100)
    [ 6.549286] r7:ed211b00 r6:ed211c80 r5:c0878c60 r4:bf06722c
    [ 6.554996] [<c0402124>] (driver_register) from [<c04c2ad4>] (sdio_register_driver+0x24/0x2c)
    [ 6.563551] r5:c0878c60 r4:c0878c60
    [ 6.567157] [<c04c2ab0>] (sdio_register_driver) from [<bf069014>] (wl1271_init+0x14/0x1c [wlcore_sdio])
    [ 6.576599] [<bf069000>] (wl1271_init [wlcore_sdio]) from [<c00096cc>] (do_one_initcall+0x88/0x1e0)
    [ 6.585697] [<c0009644>] (do_one_initcall) from [<c06163b0>] (do_init_module+0x60/0x1b0)
    [ 6.593818] r10:c008efbc r9:ed211b24 r8:00000001 r7:ed211b00 r6:ed211c40 r5:00000001
    [ 6.601712] r4:bf067268
    [ 6.604272] [<c0616350>] (do_init_module) from [<c0091c7c>] (load_module+0x1834/0x1e54)
    [ 6.612305] r6:bf0672b0 r5:00000001 r4:ed933f48
    [ 6.616961] [<c0090448>] (load_module) from [<c0092448>] (SyS_finit_module+0x70/0x80)
    [ 6.624821] r10:00000000 r9:ed932000 r8:c000f8c4 r7:0000017b r6:b6edf574 r5:00000005
    [ 6.632712] r4:00000000
    [ 6.635269] [<c00923d8>] (SyS_finit_module) from [<c000f720>] (ret_fast_syscall+0x0/0x3c)
    [ 6.643476] r6:beb15cc4 r5:00000000 r4:00000000
    [ 6.648133] Code: e1a01007 e1a02006 eb146e52 e89da9f8 (e7f001f2)
    [ 6.654257] ---[ end trace d7230040cc4f6d73 ]---
    [ 6.755886] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [ 6.862996] PM: no-rtc available, rtc-only mode disabled.
    [ 6.906858] /sound@0/simple-audio-card,codec: could not get #sound-dai-cells for /ocp/i2c@44e0b000/tlv320aic3107@18
    [ 7.144143] asoc-simple-card sound@0: parse error -22
    [ 7.149265] asoc-simple-card: probe of sound@0 failed with error -22
    [ 8.443808] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    udevd[108]: worker [123] terminated by signal 11 (Segmentation fault)
    udevd[108]: worker [123] failed while handling '/devices/platform/44000000.ocp/47810000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:1'
    [ 10.524533] usbcore: registered new interface driver usbfs
    [ 10.530912] usbcore: registered new interface driver hub
    [ 10.542895] usbcore: registered new device driver usb
    [ 10.626560] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
    [ 10.642057] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
    [ 10.648983] dwc3 48390000.usb: otg: can't start till gadget registers
    [ 10.672094] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 10.677636] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [ 10.702538] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00010010
    [ 10.711323] xhci-hcd xhci-hcd.1.auto: irq 256, io mem 0x483d0000
    [ 10.732100] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 10.738926] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 10.761933] usb usb1: Product: xHCI Host Controller
    [ 10.766833] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 xhci-hcd
    [ 10.781903] usb usb1: SerialNumber: xhci-hcd.1.auto
    [ 10.792058] hub 1-0:1.0: USB hub found
    [ 10.795884] hub 1-0:1.0: 1 port detected
    [ 10.812298] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 10.817828] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [ 10.831979] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 10.851980] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 10.858801] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 10.881904] usb usb2: Product: xHCI Host Controller
    [ 10.886804] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 xhci-hcd
    [ 10.901902] usb usb2: SerialNumber: xhci-hcd.1.auto
    [ 10.912936] hub 2-0:1.0: USB hub found
    [ 10.921984] hub 2-0:1.0: 1 port detected
    udevd[108]: worker [130] timeout, kill it
    udevd[108]: seq 808 '/devices/platform/44000000.ocp/47810000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:2' killed
    udevd[108]: worker [130] terminated by signal 9 (Killed)
    [ 38.783305] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    bootlogd: cannot allocate pseudo tty: No such file or directory
    [ 38.955939] random: dd urandom read with 124 bits of entropy available
    Populating dev cache
    ALSA: Restoring mixer settings...
    /usr/sbin/alsactl: load_state:1729: No soundcards found...
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Wed Oct 7 18:48:22 UTC 2015
    hwclock: can't open '/dev/misc/rtc': No such file or directory

    INIT: Entering runlevel: 5 Configuring network interfaces... [ 40.241951] random: nonblocking pool is initialized
    [ 40.362103] net eth0: initializing cpsw version 1.15 (0)
    [ 40.452416] net eth0: phy found : id is : 0x221622
    udhcpc (v1.23.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting rpcbind daemon...[ 50.554433] NET: Registered protocol family 10
    [ 50.563984] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    done.
    starting statd: done
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done
    Starting thttpd.
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    _____ _____ _ _

    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_

    | | _| .'| . | . | | __| _| . | | | -_| _| _|

    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|

    |___| |___|

    Arago Project http://arago-project.org am437x-evm /dev/ttyO0

    Arago 2015.09 am437x-evm /dev/ttyO0

    am437x-evm login: ?

    I will post you "ifconfig -a" message soon...

    Regards,
    Winiston.P
  • Winiston,

    Could you stop booting in u-boot prompt and execute 'printenv' command and post the output?

    BR
    Tsvetolin Shulev
  • Dear Tsvetolin,
    Please find the below uboot message...

    U-Boot SPL 2015.07 (Oct 07 2015 - 14:23:04)
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    reading u-boot.img
    reading u-boot.img


    U-Boot 2015.07 (Oct 07 2015 - 14:23:04 -0400)

    I2C: ready
    DRAM: 2 GiB
    PMIC: TPS65218
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 1 0
    U-Boot# printenv
    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am43xx
    board_name=AM43__GP
    board_rev=1.5A
    bootcmd=run findfdt; run mmcboot;run usbboot;run nandboot;
    bootdelay=1
    bootdir=/boot
    bootenv=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=0:2
    console=ttyO0,115200n8
    cpu=armv7
    dfu_alt_info_emmc=MLO raw 0x100 0x100 mmcpart 0;u-boot.img raw 0x300 0x1000 mmcpart 0
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    dfu_bufsiz=0x10000
    eth1addr=c4:be:84:cb:1c:78
    ethact=cpsw
    ethaddr=c4:be:84:cb:1c:76
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtfile=undefined
    findfdt=if test $board_name = AM43EPOS; then setenv fdtfile am43x-epos-evm.dtb; fi; if test $board_name = AM43__GP; then setenv fdtfile am437x-gp-evm.dtb; fi; if test $board_name = AM43__SK; then setenv fdtfile am437x-sk-evm.dtb; fi; if test $board_name = AM43_IDK; then setenv fdtfile am437x-idk-evm.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree; fi;
    finduuid=part uuid mmc 0:2 uuid
    importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=load ${devtype} ${devnum} ${loadaddr} ${bootenv}
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadramdisk=load ${devtype} ${devnum} ${rdaddr} ramdisk.gz
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${devnum};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadimage; then run loadfdt; echo Booting from mmc${mmcdev} ...; run args_mmc; bootz ${loadaddr} - ${fdtaddr}; fi;fi;
    mmcdev=0
    mmcrootfstype=ext4 rootwait
    mtdids=nand0=nand.0
    mtdparts=mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),-(NAND.file-system)
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,4096
    nandrootfstype=ubifs rootwait=1
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    soc=am33xx
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial
    stdin=serial
    stdout=serial
    usbargs=setenv bootargs console=${console} ${optargs} root=${usbroot} rootfstype=${usbrootfstype}
    usbboot=setenv devnum ${usbdev}; setenv devtype usb; usb start ${usbdev}; if usb dev ${usbdev}; then if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadimage; then run loadfdt; echo Booting from usb ${usbdev}...; run usbargs;bootz ${loadaddr} - ${fdtaddr}; fi;fi
    usbdev=0
    usbnet_devaddr=c4:be:84:cb:1c:78
    usbroot=/dev/sda2 rw
    usbrootfstype=ext4 rootwait
    vendor=ti
    ver=U-Boot 2015.07 (Oct 07 2015 - 14:23:04 -0400)

    Environment size: 4271/65532 bytes
    U-Boot#

    Regards,
    Winiston.P
  • Winiston,

    There are various ways to change the eth MAC address of your board.
    In U-boot:

    Stop booting in U-boot prompt.
    Check current MAC address of both interfaces:
    printenv ethaddr
    printenv eth1addr
    Set new MAC addresses (for example: 74:da:ea:49:e7:9c and 74:da:ea:49:e7:9d but I suggest you to choose different):
    setenv ethaddr 74:da:ea:49:e7:9c
    setenv eth1addr 74:da:ea:49:e7:9d
    Then save changes:
    saveenv
    If there are not any additional configurations in uEnv.txt file or in the Kernel which overwriting this configuration you will have changed MAC addresses in Linux permanently.

    Also you can change the MAC addresses in Linux but it depends on Linux distribution.
    # ifconfig eth0 down
    # ifconfig eth0 hw ether 74:DA:EA:49:E7:9C
    # ifconfig eth0 up
    Wait several seconds then check result 'ifconfig -a'.
    This change is not permanent as the MAC address on the interface eth0 will revert to the default on next system reboot.

    To change MAC addresses permanently in Linux try to edit /etc/network/interfaces file. After
    auto eth0
    iface eth0 inet dhcp
    add:
    hwaddress ether 01:02:03:04:05:06
    Save the changes and restart the network:
    /etc/init.d/networking restart


    BR
    Tsvetolin Shulev