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

Re: Support for sunxi-based ARM systems in d-i

On Fri, May 16, 2014 at 09:59:58AM +0100, Ian Campbell wrote:

[enabling flash-kernel to run inside d-i on machines listed
 in the flash-kernel machine db]
> I think I've got it working, there were a few yakks to shave but I have
> now done a full install from sid on a cubietruck. I'll clean up the
> patches (rough versions attached), push and upload ASAP (hopefully
> tonight).


attached is a small patch against flash-kernel to add machine db
entries for the Cubieboard 1/2 and the Mele A1000.  These three
are generally supported by the armmp kernel and have SATA
connectors, i.e. with linux-image-3.14-1-armmp 3.14.4-1 (in
testing since yesterday) it should be possible to do Debian
installations on a SATA disk attached to them.

I unfortunately don't have access to any of these models, so this
is purely based on information from the linux-sunxi wiki and from
the dts files in the kernel source. Testers welcome :-).

I'll probably get access to a Cubieboard2 sometime next week and
will test an installation on it, but for the Cubieboard 1 and the
Mele somebody else would have to give them a try.

Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.
>From 0817a71526c109ff5f54375e295021e7cc8906a0 Mon Sep 17 00:00:00 2001
From: Karsten Merker <merker@debian.org>
Date: Sun, 18 May 2014 19:13:34 +0200
Subject: [PATCH] Add machine db entries for Cubieboard 1/2 and Mele A1000

 db/all.db | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/db/all.db b/db/all.db
index 68f85b4..c4ddce8 100644
--- a/db/all.db
+++ b/db/all.db
@@ -64,6 +64,22 @@ Boot-Initrd-Path: /boot/initrd.buffalo
 Required-Packages: u-boot-tools
 Bootloader-Sets-Incorrect-Root: yes
+Machine: Cubietech Cubieboard
+Kernel-Flavors: armmp
+Boot-Script-Path: /boot/boot.scr
+DTB-Id: sun4i-a10-cubieboard.dtb
+U-Boot-Script-Name: bootscr.sunxi
+Required-Packages: u-boot-tools
+Bootloader-Sets-Incorrect-Root: no
+Machine: Cubietech Cubieboard2
+Kernel-Flavors: armmp armmp-lpae
+Boot-Script-Path: /boot/boot.scr
+DTB-Id: sun7i-a20-cubieboard2.dtb
+U-Boot-Script-Name: bootscr.sunxi
+Required-Packages: u-boot-tools
+Bootloader-Sets-Incorrect-Root: no
 Machine: Cubietech Cubietruck
 Kernel-Flavors: armmp armmp-lpae
 Boot-Script-Path: /boot/boot.scr
@@ -347,6 +363,14 @@ Boot-DTB-Path: /boot/dtb
 Required-Packages: u-boot-tools
 Bootloader-Sets-Incorrect-Root: no
+Machine: Mele A1000
+Kernel-Flavors: armmp
+Boot-Script-Path: /boot/boot.scr
+DTB-Id: sun4i-a10-a1000.dtb
+U-Boot-Script-Name: bootscr.sunxi
+Required-Packages: u-boot-tools
+Bootloader-Sets-Incorrect-Root: no
 Machine: OMAP4 Panda board
 Method: generic
 U-Boot-Kernel-Address: 0x80008000

Reply to: