Giter Site home page Giter Site logo

Comments (3)

bderleta avatar bderleta commented on June 3, 2024 1

I have the same issue. Serial console provides following information:

...
[    6.194620] spi-nor spi4.0: XM25QU128C (16384 Kbytes) read_data x4
[    6.201366] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found
[    6.201968] rk_gmac-dwmac fe010000.ethernet: no regulator found
[    6.202008] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input).
[    6.202044] rk_gmac-dwmac fe010000.ethernet: TX delay(0x30).
[    6.202074] rk_gmac-dwmac fe010000.ethernet: RX delay(0x10).
[    6.202114] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no).
[    6.202211] rk_gmac-dwmac fe010000.ethernet: clock input from PHY
[    6.202502] rk_gmac-dwmac fe010000.ethernet: init for RGMII
[    6.202914] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    6.202957] rk_gmac-dwmac fe010000.ethernet:         DWMAC4/5
[    6.202990] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported
[    6.203022] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported
[    6.203052] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported
[    6.203078] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported
[    6.203205] rk_gmac-dwmac fe010000.ethernet: TSO supported
[    6.203237] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    6.203275] rk_gmac-dwmac fe010000.ethernet: rk_get_eth_addr: rk_vendor_read eth mac address failed (-1)
[    6.203321] rk_gmac-dwmac fe010000.ethernet: rk_get_eth_addr: generate random eth mac address: 36:7e:62:25:ff:33
[    6.203398] rk_gmac-dwmac fe010000.ethernet: rk_get_eth_addr: rk_vendor_write eth mac address failed (-1)
[    6.203441] rk_gmac-dwmac fe010000.ethernet: rk_get_eth_addr: id: 1 rk_vendor_read eth mac address failed (-1)
[    6.203477] rk_gmac-dwmac fe010000.ethernet: rk_get_eth_addr: mac address: 36:7e:62:25:ff:33
[    6.203510] rk_gmac-dwmac fe010000.ethernet: device MAC address 36:7e:62:25:ff:33
[    6.203541] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled
[    6.203570] rk_gmac-dwmac fe010000.ethernet: Using 32 bits DMA width
[    6.304552] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
...

Seems very similar to #274 , but I don't have these (similarly named) files in /lib to update the bootloader. Can I ask for some hints?

from ubuntu-rockchip.

MarkhamLee avatar MarkhamLee commented on June 3, 2024

I read through [274(https://github.com//issues/274) and something going sideways with the boot loader makes sense, as I never had the issue when booting from the SD card, the eMMC or when booting Armbian from the NVME. Question: are you booting from NVME or the SD card? I already had the device booting Armbian from NVME before I switched to this distro, so I just imaged another NVME drive, dropped it in the device booted it up and everything worked fine save Wi-Fi and the MAC address.

As for hints, I can just share what I'm going to try:

  • I'm going to put the Armbian NVME back in and see if the issue exists, to see if it's boot loader HW specific or something related to this OS.

  • IF MAC issue exists with Armbian despite my not having had that issue before than I'll put Ubuntu back in and pursue the bootloader angle, otherwise, I'll try re-installing Ubuntu from scratch.

I will say that I've had booting issues on this device before, I had it originally booting from eMMC and then it stopped after I had put in a new case, and I had to put the SD card back in, boot it, fix the config but it still wouldn't boot from eMMC, but ran off of the SD card, so I configured it to boot from NVME and that's how I had it running until Josh made an Ubuntu distro for the 3B.

So, maybe another angle for me will be to image an SD card with Ubuntu and see if MAC address exists there, and if it doesn't, fix the boot loader with from a config where everything works and then re-try it with my NVME drive.

I may not be able to try any of these things today, but I'll should be able to get to it this week and will share what happens, I just know it might be time consuming so I want to make sure I get some other things done before I dive into fixing this issue.

from ubuntu-rockchip.

MarkhamLee avatar MarkhamLee commented on June 3, 2024

I fixed the issue, it's convoluted so bear with me:

  1. I first dropped in an NVME drive with Armbian on it, everything booted up fine
  2. I rebooted several times to see if the MAC address changed, it never did
  3. I then tried Armbian config, went to the boot loader screen
    Screenshot from 2024-04-24 04-50-24
    the SATA/USB/NVME option kept returning a "no space on /dev/" error, so I just chose the last option: update on MTD Flash
  4. Once that was complete, I booted from an SD card with a fresh copy of Ubuntu 22.04, that was fine, rebooted a few times and the MAC address didn't change
  5. I then flashed an NVME with a fresh copy of Ubuntu and dropped that into the device, things booted up fine, rebooted several times and the MAC address did not change.

As an added bonus I was able to get Wi-Fi up and running, wasn't able to that prior to this.

So I think the lesson is: if Wi-Fi doesn't work or you get weird MAC address issues AND you installed one of the first builds, downloading the most recent copy and starting from scratch might be your best bet.

from ubuntu-rockchip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.