[Letux-kernel] X1600 / LX16 support - here: adding MMC
Andreas Kemnade
andreas at kemnade.info
Fri Feb 9 20:10:09 CET 2024
On Fri, 9 Feb 2024 18:10:49 +0100
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> > Am 09.02.2024 um 17:49 schrieb Andreas Kemnade <andreas at kemnade.info>:
> >
> > On Fri, 9 Feb 2024 17:02:51 +0100
> > "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> >
> >> Hi Andreas,
> >>
> >>> Am 09.02.2024 um 16:20 schrieb Andreas Kemnade <andreas at kemnade.info>:
> >>>
> >>> Hi Nikolaus,
> >>>
> >>> On Fri, 9 Feb 2024 15:14:11 +0100
> >>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> >>>
> >>>> Unfortunately we can't look into /sys/kernel/debug...
> >>>
> >>> well, you can either use an initrd (haven't a nice mips one lying
> >>> around here, but maybe just an alpine image suffices),
> >>
> >> Or one of the letux rootfs? http://download.goldelico.com/letux-debian-rootfs/wheezy-mipsel-minimal.tbz
> >>
> >> But I think it is far too big for an initrd (ca. 100 MB).
> >>
> > my alpine arm image is 4.7MB uncompressed combined with scripts
>
> Yes that is much smaller. I remember that the letux 400 (jz4730)
> needed some initrd and it was a stripped down Debian Etch (just
> kept busybox and init and some important tools but removed all
> man entries) to ca. 3 MB.
>
Well, if I do not use the apline path, I unpack busybox-static, and
maybe add console to dev add a /bin/sh and /sbin/init symlink, set rdinit or
create a linuxrc to exec one of there beforementioned.
> > ready to run to produce various things out of it, so I can easily
> > just boot it.
> >
> >>
> or configure
> >>
> >> Yes, that yould work but is probably the same complexity as fixing
> >> the real bug.
> >>
> >>> one of the slots as gpio and use mmc over spi over gpio.
> >>
> >> In both cases we disable the mmc initialization we want to analyse.
> >> To understand why the setup isn't correct.
> >>
> > no, we do not disable it we just have the ability to examine things
> > from userspace as rootfs does not depend on successful initialisation of
> > mmc.
>
> Is there a devmem2 available?
There is a devmem applet in busybox > version x (do not know the exact version).
That is enough.
Regards,
Andreas
More information about the Letux-kernel
mailing list