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

Bug#743222: Add support for the Marvell Armada XP GP Board, booting via DTB



Package: flash-kernel
Severity: wishlist
Tags: patch

Hi,

Here's a patch that adds suport for the new Armada XP based machines
that Marvell have kindly given us to use as buildds.


-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 9cfa6ef29a7c58d8540e1fd4836813a9c296e318 Mon Sep 17 00:00:00 2001
From: Steve McIntyre <steve@einval.com>
Date: Mon, 31 Mar 2014 16:45:16 +0100
Subject: [PATCH] Add support for the Marvell Armada XP GP Board, booting via
 DTB.

This has two different strings for the Machine: entry, as it appears
differently depending on how it's booted (via DTB or older kernel
using ATAGS)
---
 db/all.db        |   15 +++++++++++++++
 debian/changelog |    7 +++++++
 2 files changed, 22 insertions(+)

diff --git a/db/all.db b/db/all.db
index 486c804..93fa714 100644
--- a/db/all.db
+++ b/db/all.db
@@ -232,6 +232,21 @@ Boot-Initrd-Path: /boot/uInitrd
 Required-Packages: u-boot-tools
 Bootloader-Sets-Incorrect-Root: no
 
+# Marvell dev board has different names depending on how it's booted,
+# via DTB or older ATAGS
+Machine: Marvell Armada XP GP Board
+Machine: Marvell Armada XP Development Board DB-MV784MP-GP
+Kernel-Flavors: armmp lpae armmp-lpae
+DTB-Id: armada-xp-gp.dtb
+DTB-Append: yes
+U-Boot-Kernel-Address: 0x00008000
+U-Boot-Initrd-Address: 0x0
+Boot-Kernel-Path: /boot/uImage
+Boot-Initrd-Path: /boot/uInitrd
+Boot-DTB-Path: /boot/dtb
+Required-Packages: u-boot-tools
+Bootloader-Sets-Incorrect-Root: no
+
 Machine: Globalscale Technologies Dreamplug
 Kernel-Flavors: kirkwood
 DTB-Id: kirkwood-dreamplug.dtb
diff --git a/debian/changelog b/debian/changelog
index 5c47a20..f79ffce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+flash-kernel (3.15.1) unstable; urgency=low
+
+  [ Steve McIntyre ]
+  * Add support for the Marvell Armada XP GP Board, booting via DTB.
+
+ -- Steve McIntyre <93sam@debian.org>  Fri, 28 Mar 2014 17:26:45 +0000
+
 flash-kernel (3.15) unstable; urgency=low
 
   [ Ian Campbell ]
-- 
1.7.10.4


Reply to: