Bug#720286: flash-kernel: Please support PlatHome OpenBlocks AX3-4 board

2013-09-05 Thread Ian Campbell
On Wed, 2013-09-04 at 16:31 +0900, Nobuhiro Iwamatsu wrote:
 Hi,
 
 2013/8/20 Ian Campbell i...@hellion.org.uk:
  On Tue, 2013-08-20 at 13:12 +0900, Nobuhiro Iwamatsu wrote:
  +U-Boot-Kernel-Address: 0x200
  +U-Boot-Kernel-Entry-Point: 0x240
 
  0x40 is the size of the uImage header, I think. So this is just skipping
  the header and jumping directly into the zImage contained within?
  Perhaps because this platform uses bootz instead of bootm?
 
  In that case why bother with the uImage at all -- why not just install
  the zImage as the kernel and jump to its head?
 
 
 Yes, you are right and bootz is god solution for multi platform.
 But this machine does not support BOOTZ in u-boot.

OK, I guess I was just a bit confused by the entry point pointing into
the middle of the image, right after the u-boot header, then.

Ian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#720286: flash-kernel: Please support PlatHome OpenBlocks AX3-4 board

2013-09-04 Thread Nobuhiro Iwamatsu
Hi,

2013/8/20 Ian Campbell i...@hellion.org.uk:
 On Tue, 2013-08-20 at 13:12 +0900, Nobuhiro Iwamatsu wrote:
 +U-Boot-Kernel-Address: 0x200
 +U-Boot-Kernel-Entry-Point: 0x240

 0x40 is the size of the uImage header, I think. So this is just skipping
 the header and jumping directly into the zImage contained within?
 Perhaps because this platform uses bootz instead of bootm?

 In that case why bother with the uImage at all -- why not just install
 the zImage as the kernel and jump to its head?


Yes, you are right and bootz is god solution for multi platform.
But this machine does not support BOOTZ in u-boot.

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#720286: flash-kernel: Please support PlatHome OpenBlocks AX3-4 board

2013-08-20 Thread Ian Campbell
On Tue, 2013-08-20 at 13:12 +0900, Nobuhiro Iwamatsu wrote:
 +U-Boot-Kernel-Address: 0x200
 +U-Boot-Kernel-Entry-Point: 0x240 

0x40 is the size of the uImage header, I think. So this is just skipping
the header and jumping directly into the zImage contained within?
Perhaps because this platform uses bootz instead of bootm?

In that case why bother with the uImage at all -- why not just install
the zImage as the kernel and jump to its head?

Ian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#720286: flash-kernel: Please support PlatHome OpenBlocks AX3-4 board

2013-08-20 Thread Christian PERRIER
Quoting Nobuhiro Iwamatsu (iwama...@debian.org):
 Package: flash-kernel
 Version: 3.8
 Severity: normal
 Tags: patch
 
 Hi,
 
 I created a patch which support PlatHome OpenBlocks AX3-4 board.
 This is supported by armmp flavor.
 
 Could you apply this patch?
 
 NOTE: This patch is required in the patch of #720285.


I just committed both patches but I have no expertise at all in these
things.

My proposal is building/uploading what I have and then have People Who
Know test it in daily builds.



signature.asc
Description: Digital signature


Bug#720286: flash-kernel: Please support PlatHome OpenBlocks AX3-4 board

2013-08-19 Thread Nobuhiro Iwamatsu
Package: flash-kernel
Version: 3.8
Severity: normal
Tags: patch

Hi,

I created a patch which support PlatHome OpenBlocks AX3-4 board.
This is supported by armmp flavor.

Could you apply this patch?

NOTE: This patch is required in the patch of #720285.

Best regards,
  Nobuhiro

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
From 970bd1c10929891ac1d32e0c5e536c52d9505e36 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu iwama...@debian.org
Date: Tue, 20 Aug 2013 12:40:54 +0900
Subject: [PATCH 2/2] Add support PlatHome OpenBlocks AX3-4 board

Signed-off-by: Nobuhiro Iwamatsu iwama...@debian.org
---
 README|  1 +
 db/all.db | 13 +
 2 files changed, 14 insertions(+)

diff --git a/README b/README
index f48bffb..12e9b3c 100644
--- a/README
+++ b/README
@@ -37,6 +37,7 @@ The following systems are supported:
  - Marvell OpenRD-Client
  - Marvell OpenRD-Ultimate
  - Neo FreeRunner (GTA02)
+ - PlatHome OpenBlocks AX3-4 board
  - QNAP TS-109
  - QNAP TS-110 Turbo NAS
  - QNAP TS-119 Turbo NAS
diff --git a/db/all.db b/db/all.db
index d1ad4bc..76e99fd 100644
--- a/db/all.db
+++ b/db/all.db
@@ -279,6 +279,19 @@ Boot-Script-Path: boot.scr
 Required-Packages: u-boot-tools
 Bootloader-Sets-Root: no
 
+Machine: PlatHome OpenBlocks AX3-4 board
+Kernel-Flavors: armmp
+DTB-Id: armada-xp-openblocks-ax3-4.dtb
+DTB-Append: yes
+U-Boot-Kernel-Address: 0x200
+U-Boot-Kernel-Entry-Point: 0x240
+U-Boot-Initrd-Address: 0x0
+Boot-Device: /dev/sda1
+Boot-Kernel-Path: /boot/uImage
+Boot-Initrd-Path: /boot/uInitrd
+Required-Packages: u-boot-tools
+Bootloader-Sets-Root: no
+
 Machine: QNAP TS-109/TS-209
 Kernel-Flavors: orion5x
 Machine-Id: 1565
-- 
1.8.3.2