[Letux-kernel] jz4730-i2c - clocksource
paul at boddie.org.uk
Sun Mar 7 17:06:00 CET 2021
On Sunday, 7 March 2021 14:37:40 CET H. Nikolaus Schaller wrote:
> > Am 07.03.2021 um 14:05 schrieb Paul Boddie <paul at boddie.org.uk>:
> > The uImage file should go in the first (FAT) partition, of course.
> Yes. Exact names depends on what U-Boot expects. On my system it should be
> named "Image" without the "u".
Mine works with uImage since my L4Re payloads work fine with that name.
However, I am using the legacy U-Boot here. Will that support some of the
features you are using, such as bootargs.scr and loading device tree files?
> > 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?
> It should go to /boot and dtbs/5.12.0-rc2-letux-l400+ should be stripped
> off. The reason is that this is loaded by U-Boot which does not know the
> exact kernel name. Only the kernel knows its name and can search modules
> in /lib/modules/5.12.0-rc2-letux-l400+/
> This means the .dtb must be located where U-Boot (or a boot.scr) is looking
> for it.
> So I have:
> root at letux:~# ls -lR /boot
> total 5136
> -rw-r--r-- 1 root root 5232705 Mar 4 2021 Image
> -rw-r--r-- 1 root root 96 Mar 4 2021 Image.info
> -rw-r--r-- 1 root root 2108 Mar 4 2021 bootargs.scr
> drwxr-xr-x 2 root root 4096 Mar 4 2021 ingenic
So this is in the FAT partition?
More information about the Letux-kernel