[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#920607: Debian Buster installer on qnap ts-21x / Fujitsu Q700 : /dev/mtdblock* missing



Hello Everyone,
I also tried to install current testing to a qnap ts-119P II.

On Tue, 29 Jan 2019 21:43:50 +0100 =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= <uwe@kleine-koenig.org> wrote:
> On 1/27/19 12:13 PM, Lukas Straub wrote:
> > Package: linux
> > Version: 4.19.12-1
> > 
> > Hello Everyone,
> > I tried the latest Buster Installer on my Fujitsu Q700 (rebranded
> > qnap ts-21x) and Everything works except that /dev/mtdblock* devices
> > are missing so flashing the kernel and initrd fails.
> 
> I see the spi-orion-Driver is not loaded. Does /dev/mtd* appear if you do
> 
> 	modprobe spi-orion
> 	modprobe m25p80

Unfortunately I found just the m25p80.ko right after boot,
the spi-orion.ko is missing.
Should that be downloaded by the installer later or
already included in the initrd?

By following commands one should be able to get the
missing spi-orion.ko for the debian installer from 20190118:

    cd $(mktemp -d)
    wget http://deb.debian.org/debian/pool/main/l/linux/linux-image-4.19.0-1-marvell_4.19.12-1_armel.deb
    udpkg --unpack linux-image-4.19.0-1-marvell_4.19.12-1_armel.deb
    depmod -a

    modprobe spi-orion
    modprobe m25p80

And after that dmesg got following additional lines:

        ...
        [ 1112.557570] m25p80 spi0.0: m25p128 (16384 Kbytes)
        [ 1112.567777] 6 fixed-partitions partitions found on MTD device spi0.0
        [ 1112.567783] Creating 6 MTD partitions on "spi0.0":
        [ 1112.567793] 0x000000000000-0x000000080000 : "U-Boot"
        [ 1112.568533] 0x000000200000-0x000000400000 : "Kernel"
        [ 1112.569407] 0x000000400000-0x000000d00000 : "RootFS1"
        [ 1112.569653] 0x000000d00000-0x000001000000 : "RootFS2"
        [ 1112.569877] 0x000000080000-0x0000000c0000 : "U-Boot Config"
        [ 1112.570090] 0x0000000c0000-0x000000200000 : "NAS Config"

After that I could successfully finish a buster installation,
and boot the installed system.

If there is something more to test I have the serial console
connected and it is not yet in "production".

Kind regards,
Bernhard


Reply to: