[Letux-kernel] jz4730 Ethernet
paul at boddie.org.uk
Tue Mar 9 21:43:20 CET 2021
On Tuesday, 9 March 2021 17:46:24 CET H. Nikolaus Schaller wrote:
> Hi Paul,
> have you had success building and booting an SD card?
No, not yet. I tried putting the new U-Boot in the FAT partition as uImage
alongside the uncompressed version as u-boot.bin, also adding the bootargs.scr
and boot.scr files, deploying the kernel as Image, and having the device tree
files inside the ingenic directory, but I still didn't get it to boot.
I probably won't get to look at this for a few days now, and when I do, I
guess I'll just copy your binaries for the above things to the card to see if
there is something fundamentally wrong.
> I have pushed a new version (same link):
> * based on v5.12-rc2
> * based on latest fixes for CI20
> * includes patches for pinctrl to support MII (based on patches by Yanjie
> * code made compile (with remaining warnings)by fixing some things and
> commenting out some parts
> It loads but then:
> [ 53.148964] genirq: Flags mismatch irq 19. 00000003 (eth0) vs. 00000003
> [ 53.157718] eth0: unable to get IRQ 19 .
What is the matrix-keypad part of this about?
> What needs to be fixed:
> - missing: get IRQ from device tree
> - missing: get hardware address of MII controller from device tree
> - needs working DMA (at least the driver allocates DMA memory)
> - needs substitute for a background thread to detect cable plug/unplug
> - needs to resolve all FIXME
> Still a lot of work until all gaps for the jz4730 are closed:
> * futex (or what ever the sysbench and X11 issue is)
I should investigate LL/SC and see if it generates illegal instruction errors
> * i2c
> * sound
> * dma
> * mii
> * dma based mmc
> But we are closing them one-by-one and the list has become quite short :)
Yes, it looks like progress is being made.
More information about the Letux-kernel