From patchwork Mon May 12 05:50:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gergely Imreh X-Patchwork-Id: 347890 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 2A8D514007C for ; Mon, 12 May 2014 15:50:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 67223316C1; Mon, 12 May 2014 05:50:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MzBQOcQgtmZx; Mon, 12 May 2014 05:50:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B865030CBE; Mon, 12 May 2014 05:50:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 51A4F1C2C96 for ; Mon, 12 May 2014 05:50:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4CCA0885F2 for ; Mon, 12 May 2014 05:50:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RDcc8SHMzhL4 for ; Mon, 12 May 2014 05:50:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5DD63885B6 for ; Mon, 12 May 2014 05:50:45 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id db11so8383328veb.1 for ; Sun, 11 May 2014 22:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lnhUFCQmZWNyFh7wVXEY/F2OP8oDxTUCWrngWqvwuiQ=; b=yaERgWiGE7eA8MTuoMWO9GVtcIa0xVsmfl4qR1jwGHf0gU9v52xeJHJnHcuzghOMFA cBHMUojWK15qj35Mhkvd40VA359fag2QImRaGeVuLRvMLFRAkPOZAidRXbzoaUIhpXq5 pEs4EpW00KQ7/G2APDnHzODNNc8op8+tnQ+qVjpnwHZUV2mZwyrsA4nBflwwc+fAcq9d 5J/o8HlDTw0wX8YKrDTHXEMldZTbz0yRO756b+TIiwhNXAlY/rjuitFgBvUkndbK5MaN Zzf1jYzlkMqbIztVElSXOu8D12KnmJnq0fEKNivh9LTqDxleIcnE8Ra5S4e+BIGhBWFV /Q4w== X-Received: by 10.221.20.199 with SMTP id qp7mr21558636vcb.24.1399873844327; Sun, 11 May 2014 22:50:44 -0700 (PDT) Received: from gergely.imreh.net ([122.147.15.218]) by mx.google.com with ESMTPSA id dv3sm4739136vec.14.2014.05.11.22.50.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 May 2014 22:50:43 -0700 (PDT) Received: by gergely.imreh.net (sSMTP sendmail emulation); Mon, 12 May 2014 13:50:31 +0800 From: imrehg@gmail.com To: buildroot@buildroot.org Date: Mon, 12 May 2014 13:50:07 +0800 Message-Id: <1399873807-9355-2-git-send-email-imrehg@gmail.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1399873807-9355-1-git-send-email-imrehg@gmail.com> References: <1399873807-9355-1-git-send-email-imrehg@gmail.com> Subject: [Buildroot] [PATCH 1/1] Adding support for the VIA VAB-600 Springboard X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Gergely Imreh Add defconfig for the Springboard, as well as a readme with instructions to prepare an SD card and flash a system with buildroot. Signed-off-by: Gergely Imreh --- board/via/springboard/readme.txt | 82 +++++++++++++++++++++++++++++++++++++++ configs/via_springboard_defconfig | 12 ++++++ 2 files changed, 94 insertions(+) create mode 100644 board/via/springboard/readme.txt create mode 100644 configs/via_springboard_defconfig diff --git a/board/via/springboard/readme.txt b/board/via/springboard/readme.txt new file mode 100644 index 0000000..009e99b --- /dev/null +++ b/board/via/springboard/readme.txt @@ -0,0 +1,82 @@ +VIA VAB-600 Springboard +======================= + +The Springboard is a VIA Cortex-A9 SoC on Pico-ITX form factor board. +http://www.viaspringboard.com/ + +This configuration is intended as a base image. + + +Installation +============ + +These instructions are based on the available Linux Board Support Package (BSP) +contents for the Springboard. + + +Compile buildroot +----------------- + +The buildroot rootfs is built by: + + make via_springboard_defconfig + make + +The required result is "output/images/rootfs.tar.gz" + + +Download the Linux Development Package +----------------------------------------- + +The Linux Development package is at +http://www.viaspringboard.com/via-vab-600-springboard-software-development-packages.html + +It contains resources prepared to flash a new system onto the Springboard (a Debian system), +as well as the kernel source, tool chain, and evaluation guide. + +The file is "SpringBoard_Linux_Development_Package_v1.00.00.zip" +Extract the contents of the file somewhere on your system. + +This is used for the Linux kernel image (3.0.8, uzImage.bin). + + +Prepare an SD Card +------------------- + +1. Prepare an SD card (at least 2GB), and format with FAT partition. + +2. From the "EVK/Update_Package" directory copy "scriptcmd" and the "bspinst/" directory + ontp the SD card. + +3. Remove the existing ".tgz" files from the SD card's "bpinst/packages" directory. + +4. Copy buildroot's rootfs.tar.gz to the SD card's "bpinst/packages/rootfs.tgz", make + sure it has a "tgz" extension! (The rootfs will be installed from here and the stock + install script appears to only handle ".tgz" extensions correctly at the moment). + +5. in "bpinst/bspinst.cfg" find the line: + "setenv wmt.display.param 4:6:1:1920:1080:60" + This is the screen setting. If your display is npot 1920x1080, update this line to have + the correct resolution. Eg. for 1280x1024 display at 75Hz should read: + "setenv wmt.display.param 4:6:1:1280:1024:75" + (without the quotes, of course) + +5. Plug in the SD card to the Springboard SD card slot, and power up the board + +6. After a few seconds, the automatic update of the eMMC storage should start. Wait + until that's finished. If the screen is scrambled at that time, just wait ~5 minutes + just to be super-safe until going to the next step. + +7. Press the SD Card to remove it. The Springboard should shut down automatically. Power + on again to start with the new images. If the screen is still scrabled on this boot, + check step 5. and update the display settings, and reflash. + +8. If everything works well, you should arrive to the login prompt, and can get started. + Springboard <3 Buildroot! + + +Advanced +======== + +If you want to modify the kernel, the Linux Development Package has the whole source code +of the BSP kernel, as well as the toolchain and documentation how to do modifications. diff --git a/configs/via_springboard_defconfig b/configs/via_springboard_defconfig new file mode 100644 index 0000000..265b877 --- /dev/null +++ b/configs/via_springboard_defconfig @@ -0,0 +1,12 @@ +BR2_arm=y +BR2_cortex_a9=y + +# Kernel Header Options +BR2_KERNEL_HEADERS_3_0=y + +# getty options +BR2_TARGET_GENERIC_GETTY_PORT="tty0" + +# initramfs needs a Linux kernel to be built +BR2_TARGET_ROOTFS_TAR=y +BR2_TARGET_ROOTFS_TAR_GZIP=y