[Kinda solved] Re: Network not working on Olimex LIME2 rev K ??
On Wednesday, 5 February 2020 19:41:30 CET Vagrant Cascadian wrote:
> A20-OLinuXino-Lime 2 Rev. K Ethernet problem - No connection possible in
> installer https://bugs.debian.org/911560
So I've applied the suggestion to build u-boot with
CONFIG_GMAC_TX_DELAY=3
I can confirm that both LIME2 rev G2 and rev K boards have a working network
with 1G speed with u-boot version debian/2020.01+dfsg-1 and the tweak above.
For the record, here's the recipe to get a working network OlinuXino Lime2
rev. K :
Setup u-boot source:
- git clone https://salsa.debian.org/debian/u-boot.git
- sudo apt build-dep u-boot
In u-boot:
- apply all debian patches: quilt push -a
- run: make CROSS_COMPILE=arm-linux-gnueabihf- A20-OLinuXino-Lime2_defconfig
- edit .config to set CONFIG_GMAC_TX_DELAY=3
- build u-boot: make CROSS_COMPILE=arm-linux-gnueabihf-
You should get a u-boot-sunxi-with-spl.bin file which is the bootloader to
install on your SD card (see [1])
First backup your SD card
- sudo cp /dev/$sdcard backup.img
Then copy the bootloader:
- sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/$sdcard bs=1024 seek=8
In both case, $sdcard is to be replaced with the block device file of your SD
card.
Hope this helps
[1] https://linux-sunxi.org/Bootable_SD_card#Bootloader
Reply to: