Sharp Board Support Package

From Buici

Jump to: navigation, search

This Board Support Package (BSP) is a cross-development environment for the Sharp LH processors, LH79520, LH79524/5, LH7A400 and LH7A404. It provides a tested bundle of GNU/Linux software that can be used to verify and demonstrate the Logic Product Development SDK and to develop applications.

Sharp has an ISO image of the BSP, with all of the source files and precompiled packages, on their [MCU support web site] (login required). The base BSP files and update files are available via ftp, ftp://ftp.buici.com/pub/arm/bsp, as well.

Contents

Overview

The BSP is a collection of Makefiles, Bourne shell and Perl scripts, and a few source archives that create the build environment. It was developed on the Debian GNU/Linux distribution, and has been tested on SUSE, Mandriva 10, Ubuntu, Gentoo and RedHat. A Knoppix bootable CD may also be used to build the BSP without requiring GNU/Linux to be installed on a development machine. It may be possible to build the BSP on Microsoft Windows using the Cygwin toolchain, but that has not been verified.

Changes

  • 2005.11.08 (bsp-sharplh7-1.2.9)
    • lpd7a400 integrated into the BSP.
    • Support for lh79525 added.
    • Now, update files may be used to bring a BSP forward from a previous release.
  • 2005.10.01 (bsp-sharplh7-1.2.7)
    • SUSE and Fedora required a few more small changes.
    • Updates to the kernel and APEX for the lpd7a404-11 board.
  • 2005.09.09 (bsp-sharplh7-1.2.5)
    • More compatibility changes.
    • gettext-native has to be compiled the build host
    • SUSE and Fedora verified as capable of building the BSP
  • 2005.09.07 (bsp-sharplh7-1.2.2)
    • Needed two versions of libtool, one for native builds and another for target builds.
    • Revised setup documentation for the sake of R/O CD mounts.
    • konqueror-embedded build revised.
  • 2005.08.31 (bsp-sharplh7-1.2.0)
    • Rearranged the tool installs such that there are separate
  • tools-native and tools-target directories.
    • New setup script simplifies installation from the ISO image.
    • Patched the konqueror-embedded build so that it compiles on SUSE. This probably helps with other RedHat builds as well.
    • Removed TRANS.TBL files from the ISO image so that copying the ISO image won't break the build.
  • 2005.08.15 (bsp-sharplh7-1.1.3)
    • Modified the Makefile dependencies so that an initial build will unpack archives, when available. This feature can reduce the time to setup the BSP from several hours down to about 10 minutes.
  • 2005.08.11 (bsp-sharplh7-1.1.2)
    • Added support for the lh79520.
    • All targets using the 2.6.12 kernel.
    • All targets using APEX 1.3.1
    • Updated the README to reflect updated targets and the new APEX features.
  • 2005.07.22 (bsp-sharplh7-1.1.1)
    • Fixed a problem with the lh7a40x kernel patches.
  • 2005.07.20 (bsp-sharplh7-1.1.0)
    • Initial release.

Using the BSP

As this is a product under development, the most current information will be available in the BSP itself. Refer to the README files in the BSP archive for help with building and using the BSP.

Updating an Installed BSP

As of version 1.2.9, update files are available to update a BSP to a more recent version without acquiring a new ISO image. If you have made changes to the BSP, make sure to save them elsewhere before updating as it is possible that those changes will be lost or corrupted.

If you have the ISO image for version 1.2.8 and the update from 1.2.8 to 1.2.9, here is how you might install and upgrade the BSP. We use sudo to gain temporary root priviledges to perform the mount operation.

mkdir iso
sudo mount -o loop bsp-sharplh7-1.2.8.iso iso
iso/setup iso sharp-dev
sudo umount iso
zcat update-1.2.8-1.2.9.sh.gz | ( cd sharp-dev ; sh )

When complete, the sharp-dev directory will be identical to the one that had been installed from the bsp-sharplh7-1.2.9.iso CD image.

--Elf 14:50, 6 April 2006 (PDT)

Personal tools