[Letux-kernel] [PATCH 00/20] A bunch of JZ4730 fixups for letux-kernel

Paul Boddie paul at boddie.org.uk
Sat Dec 5 17:56:36 CET 2020


On Saturday, 5 December 2020 16:58:49 CET H. Nikolaus Schaller wrote:
> 
> With this setup I can boot from SD into the kernel. And all my helper tools
> to create images for
> 
> 	https://download.goldelico.com/letux-u-boot/Mipsbook400/
> 	https://download.goldelico.com/letux-kernel/latest-l400/
> 
> are working so that I can (re)generate any SD card through 'makesd' and
> combine with my prebuilt Debian rootfs flavors within minutes. That is
> important for kernel development to have a short turnaround time between
> compile and boot/test.
> 
> BTW: I have also git committed the source code for the NAND U-Boot 1.1.6 for
> easier reference:
> https://git.goldelico.com/?p=letux-uboot.git;a=shortlog;h=refs/heads/old/mi
> psbook-u-boot-1.1.6

Great work, Nikolaus and Lubomir!

[...]

> [    0.025852] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 19112604462750000 ns

I guess this is without the TCU/OST clock source, which needs updating to 
handle those timers as 32-bit values, as noted earlier. I imagine that this 
uses the built-in MIPS timer/counter register instead. Maybe the TCU stuff is 
not important after all, at least to get things working.

[...]

> [    0.035805] jz4780-dma 10020000.dma: failed to get I/O memory
> [    0.036100] jz4780-dma: probe of 10020000.dma failed with error -22

I think this might have been noted earlier.

> [    0.186320] jz4740-wdt: probe of 10004000.watchdog failed with error -22

This might be a problem with the TCU driver.

> [    0.198276] pinctrl-ingenic 10010000.pin-controller: invalid group "PC0"
> for function "mmc"
> [    0.189815] pinctrl-ingenic 10010000.pin-controller: invalid group "PC2"
> for function "mmc"
> [    0.198635] pinctrl-ingenic 10010000.pin-controller: invalid group "PA21"
> for function "mmc"

A review of pinctrl might be needed to fix any group details.

[...]

> [    0.199384] jz4740-mmc 10021000.mmc: Looking up vqmmc-supply property in
> node /mmc at 10021000 failed

A device tree issue, perhaps?

> [    0.200425] ledtrig-cpu: registered to indicate activity on CPUs
> [    0.196419] jz4740-mmc 10021000.mmc: Failed to get dma_tx channel

Probably a consequence of the DMA driver failure.

So, the MMC problem might be due to the DMA and pinctrl failures that preceded 
it.

Paul




More information about the Letux-kernel mailing list