[Letux-kernel] jz4730-i2c - clocksource

Paul Boddie paul at boddie.org.uk
Sun Mar 7 14:05:07 CET 2021


On Sunday, 7 March 2021 00:16:53 CET Paul Boddie wrote:
> On Saturday, 6 March 2021 23:20:48 CET H. Nikolaus Schaller wrote:
> > You might try to download my binary builds and replace uImage or modules
> > or DTB to check where the difference is.
> > 
> > https://download.goldelico.com/letux-kernel/latest-l400/
> > 
> > And, which defconfig did you use? I use the letix_mipsbook_defconfig.
> > The alpha400_defconfig may be incomplete for LCD.
> 
> I'll try again with letux_mipsbook_defconfig and see if it makes a
> difference.

Since I suspect that I am making a mistake in deploying the files, where 
should each of these things go on a memory card?

The uImage file should go in the first (FAT) partition, of course.

The second partition should contain the root filesystem. I found that unlike 
the legacy configuration, which used ext2, the kernel command line only had 
ext4 and ext3 for the rootfstype. So I changed the command line and stuck with 
the ext2 format for now.

The modules are presumably installed to the second partition as normal, this 
typically being done using the modules_install Makefile target with 
INSTALL_MOD_PATH set to the base of the mounted partition. They should end up 
at the following location within INSTALL_MOD_PATH:

lib/modules/5.12.0-rc2-letux-l400+

The device tree files are typically installed using the dtbs_install Makefile 
target with INSTALL_PATH set to the location of the boot directory. They 
should end up at the following location within INSTALL_PATH:

dtbs/5.12.0-rc2-letux-l400+/ingenic/alpha400.dtb

Normally, this would be the following in the running system:

/boot/dtbs/5.12.0-rc2-letux-l400+/ingenic/alpha400.dtb

This is where I wonder if I am doing something wrong because the device-
trees.tbz download has one file with this path:

ingenic/alpha400.dtb

Where would this be unpacked? Should it be on the first partition? What 
happened to the dtbs/5.12.0-rc2-letux-l400+ part of the path?

Paul




More information about the Letux-kernel mailing list