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

Bug#783323: Broken configuration for OpenBlocks AX3-4



Package: flash-kernel
Version: 3.35
Severity: important

flash-kernel has this entry for the OpenBlocks AX3-4:

    Machine: PlatHome OpenBlocks AX3-4 board
    Kernel-Flavors: armmp
    DTB-Id: armada-xp-openblocks-ax3-4.dtb
    DTB-Append: yes
    U-Boot-Kernel-Address: 0x2000000
    U-Boot-Kernel-Entry-Point: 0x2000040
    U-Boot-Initrd-Address: 0x0
    Boot-Device: /dev/sda1
    Boot-Kernel-Path: /boot/uImage
    Boot-Initrd-Path: /boot/uInitrd
    Boot-DTB-Path: /boot/dtb
    Required-Packages: u-boot-tools

Firstly, the Armada XP supports LPAE and the installer selects the
armmp-lpae kernel by default.  This makes it impossible to boot from
the files on the installed system.

Secondly, if the installation uses LVM, /dev/sda1 is the /boot
partition, not the root partition.  After fixing the first problem,
flash-kernel fails like this:

    # flash-kernel 3.16.0-4-armmp-lpae
    Installing armada-xp-openblocks-ax3-4.dtb into /boot/dtb-3.16.0-4-armmp-lpae
    Taking backup of dtb-3.16.0-4-armmp-lpae.
    Installing new dtb-3.16.0-4-armmp-lpae.
    Installing armada-xp-openblocks-ax3-4.dtb into /boot/dtb-3.16.0-4-armmp-lpae
    Taking backup of dtb-3.16.0-4-armmp-lpae.
    Installing new dtb-3.16.0-4-armmp-lpae.
    flash-kernel: installing version 3.16.0-4-armmp-lpae
    Generating kernel u-boot image... done.
    Will use /dev/sda1 as boot device.
    Installing new uImage.
    mv: cannot move '/tmp/flash-kernel.3ft8lyny/uImage' to '/tmp/flash-kernel.V2iwAjyz//boot/uImage': No such file or directory

Removing /boot from the file paths fixes this, but of course it would
break configurations without a separate /boot.  I don't know whether
there's a good way to deal with both configurations.  Maybe you should
bodge it by creating the /boot/boot directory in this case?

Thirdly, the machine name is not quite accurate - this is not just a
board but a complete product with a custom case.

Ben.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: