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

Bug#750953: flash-kernel: Add support for SolidRun Cubox-i Dual/Quad.



On Sun, 2014-06-08 at 14:27 -0700, Vagrant Cascadian wrote:
> Package: flash-kernel
> Version: 3.20
> Severity: wishlist
> Tags: patch
> 
> The following patch adds support for the Cubox-i Dual/Quad, tested on a Cubox
> i4pro.

Looks good, thanks!

> It is a simplified version of the patches proposed by Steve Langasek in:
> 
>   https://lists.debian.org/debian-arm/2014/05/msg00228.html
> 
> It works with the default u-boot environment in the u-boot package in Jessie.
> It requires /etc/default/flash-kernel to define root= in LINUX_KERNEL_CMDLINE,

Are you sure about
that? /usr/share/initramfs-tools/hooks/flash_kernel_set_root should be
setting a fallback root in the initrd, so if the command line doesn't
have root= I think things should still work.

> as u-boot doesn't set bootargs by default.
> 
> It only supports booting off of mmc, though in theory booting off of eSATA
> might be possible.

When that comes homefully we can upgrade in a backwards compatible way.
I suppose/home it might be as simple as:
        if test -z ${device} ; then
            setenv device mmc
        fi
instead of the unconditional setenv. That assumes that the uboot env
would then set $device to scsi, but that seems pretty conventional
nowadays.

Ian.


Reply to: