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

Bug#731345: flash-kernel: add support for DT based kernels on Sheeva Plug



Package: flash-kernel
Version: 3.11
Severity: normal
Tags: patch

Hello, I've two patches to support DT based kernel on Sheeva
Plug. These patches are needed to boot 3.12 (which is currently in
experimental).

regards,
Marc

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (70, 'experimental'), (70, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 3.12-trunk-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flash-kernel depends on:
ii  devio            1.2-1+b1
ii  initramfs-tools  0.115
ii  linux-base       3.5

flash-kernel recommends no packages.

Versions of packages flash-kernel suggests:
ii  u-boot-tools  2013.01.01-4

-- no debconf information
>From 4fb0373e4596a5efcbc086b7e127096efd36fd7c Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 4 Dec 2013 13:59:40 +0100
Subject: [PATCH 1/2] all.db: add dtb support for Sheeva Plug

This patch adds support to upgrade from a non DT based kernel
(linux-image-3.11-2-kirkwood) or older to a DT based one (i.e.
linux-image-3.12-trunk-kirkwood which is currently in experimental).
---
 db/all.db | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/db/all.db b/db/all.db
index 76e99fd..55db11a 100644
--- a/db/all.db
+++ b/db/all.db
@@ -250,10 +250,13 @@ Bootloader-Sets-Root: no
 
 Machine: Marvell SheevaPlug Reference Board
 Kernel-Flavors: kirkwood
+DTB-Id: kirkwood-sheevaplug.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: dtb
 Required-Packages: u-boot-tools
 Bootloader-Sets-Root: no
 
-- 
1.8.5.rc0

>From 2595607efde8338d35863e00eb60d409db050ec2 Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 4 Dec 2013 14:03:55 +0100
Subject: [PATCH 2/2] all.db: add section for DT based Sheeva Plug

This patch is needed to let flash-kernel recognize a DT based Sheeva Plug.
---
 db/all.db | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/db/all.db b/db/all.db
index 55db11a..3e060e4 100644
--- a/db/all.db
+++ b/db/all.db
@@ -248,6 +248,18 @@ Boot-Initrd-Path: /boot/uInitrd
 Required-Packages: u-boot-tools
 Bootloader-Sets-Root: no
 
+Machine: Globalscale Technologies SheevaPlug
+Kernel-Flavors: kirkwood
+DTB-Id: kirkwood-sheevaplug.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: dtb
+Required-Packages: u-boot-tools
+Bootloader-Sets-Root: no
+
 Machine: Marvell SheevaPlug Reference Board
 Kernel-Flavors: kirkwood
 DTB-Id: kirkwood-sheevaplug.dtb
-- 
1.8.5.rc0


Reply to: