Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 24, 2024 08:10AM |
Registered: 9 years ago Posts: 104 |
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb ethact=dwmac.40400000 ethaddr=00:25:31:01:XX:XX
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 24, 2024 01:11PM |
Admin Registered: 13 years ago Posts: 19,092 |
> dtb_file=/boot/dts/ox820-pogoplug-pro.dtb > ethact=dwmac.40400000 > ethaddr=00:25:31:01:XX:XX >
dmesg ifconfig -a
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 26, 2024 01:19AM |
Registered: 9 years ago Posts: 104 |
[ 7.660249] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 7.667133] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 7.741002] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35 [ 7.748661] oxnas-dwmac 40400000.ethernet: DWMAC1000 [ 7.754516] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 7.762536] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 7.770542] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 7.776271] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 7.783841] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 7.790804] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 7.798259] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 7.805598] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 7.811965] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 7.820518] oxnas-dwmac 40400000.ethernet: device MAC address d6:89:3f:37:68:9f
root@debian:/# ip a ... 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 5a:ea:2e:cb:64:fd brd ff:ff:ff:ff:ff:ff inet 192.168.3.217/23 brd 192.168.3.255 scope global dynamic eth0 valid_lft 515sec preferred_lft 515sec inet6 fe80::58ea:2eff:fecb:64fd/64 scope link valid_lft forever preferred_lft forever
root@debian:/# fw_printenv ethaddr ethaddr=00:25:31:01:c1:ba
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 26, 2024 01:52PM |
Admin Registered: 13 years ago Posts: 19,092 |
Quote
Updated 16 Dec 2023:
Rootfs Debian-6.6.2-mvebu-tld-1-rootfs-bodhi.tar.bz2 has been uploaded.
Basic Debian bookworm armhf rootfs for most MVEBU Armada NAS:
......
Note 6. Persistent MAC address (Optional):
To enable the network dynamic IP to stay consistent after each reboot, and also for faster boot. In this rootfs, a script is executed during kernel booting (in /etc/rc.local), to detect if a local MAC address was assigned during boot, and then set the persistent MAC address to what is currently defined in u-boot env ethaddr.
/root/set_persistent_mac_address
To keep using the kernel generated local MAC address (if local MAC address was generated in your box) then chmod this script to non-executable.
chmod -x /root/set_persistent_mac_address
Further improvement: after releasing this rootfs, I realized I've forgot to implement an improvement for this. Please see here for more info.
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 26, 2024 02:37PM |
Registered: 9 years ago Posts: 104 |
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 26, 2024 03:04PM |
Admin Registered: 13 years ago Posts: 19,092 |
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 28, 2024 06:24PM |
Registered: 9 years ago Posts: 104 |
[ 7.638389] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 7.645271] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 7.719068] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35 [ 7.726735] oxnas-dwmac 40400000.ethernet: DWMAC1000 [ 7.732523] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 7.740538] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 7.748546] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 7.754275] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 7.761850] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 7.768821] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 7.776276] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 7.783603] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 7.789975] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 7.798533] oxnas-dwmac 40400000.ethernet: device MAC address f6:7f:52:4d:ca:97 .... [ 36.399918] Setting Persistent MAC address for eth0 to 00:25:31:01:c1:ba [ 36.567964] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 36.578370] oxnas-dwmac 40400000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 36.594534] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found [ 36.602721] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 36.612254] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock [ 36.621383] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode [ 41.839605] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7.610263] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 7.617180] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 7.687454] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35 [ 7.695119] oxnas-dwmac 40400000.ethernet: DWMAC1000 [ 7.700899] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 7.708904] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 7.716910] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 7.722644] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 7.730211] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 7.737180] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 7.744634] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 7.751959] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 7.758333] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer .... [ 83.070748] oxnas-dwmac 40400000.ethernet end0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 83.083819] oxnas-dwmac 40400000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 83.100003] oxnas-dwmac 40400000.ethernet end0: No Safety Features support found [ 83.108152] oxnas-dwmac 40400000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported [ 83.117662] oxnas-dwmac 40400000.ethernet end0: registered PTP clock [ 83.142154] oxnas-dwmac 40400000.ethernet end0: configuring for phy/rgmii link mode [ 86.317985] oxnas-dwmac 40400000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
Re: Pogo Plug V3 Kernel 5.15.158 Oxnas ethernet address September 28, 2024 09:06PM |
Admin Registered: 13 years ago Posts: 19,092 |