From bfd2251b3145d5d94ba33e48b2dee8b2ea26eff6 Mon Sep 17 00:00:00 2001 From: Anmar Oueja Date: Fri, 19 Oct 2012 11:19:40 -0400 Subject: more tweaks --- #HOWTO_releasenotes.txt# | 42 +++++++++++++++++ #RTSM# | 118 +++++++++++++++++++++++++++++++++++++++++++++++ HACKING | 1 - HOWTO_install.txt | 3 +- INSTALL | 1 + RTSM | 2 +- 6 files changed, 163 insertions(+), 4 deletions(-) create mode 100644 #HOWTO_releasenotes.txt# create mode 100644 #RTSM# diff --git a/#HOWTO_releasenotes.txt# b/#HOWTO_releasenotes.txt# new file mode 100644 index 0000000..ecd4c00 --- /dev/null +++ b/#HOWTO_releasenotes.txt# @@ -0,0 +1,42 @@ +h1. Linaro Versatile Express 12.10 Release Linaro releases monthly + +p. Linaro releases monthly binary images for the ARM "Versatile +Express":http://www.arm.com/products/tools/development-boards/versatile-express/index.php +including support for A9, A5, A15 (TC1), and TC2 (big.LITTLE) +CoreTiles. + +p. This release includes Linaro Android Jelly Bean for Versatile +Express and Real-Time System Model +("RTSM":http://www.arm.com/products/tools/software-tools/ds-5/rtsm-simulator.php) +images. The image is able to boot A9 (ATAGS), TC1 and TC2 using +UEFI. Sources are also made available so you can build your own +images. + +p. For support matters related to these images, please contact ARM support at support@arm.com + +h1. Release Notes + +h2. General Features + +This release adds support for saving the self-hosted debugger setup +when a CPU goes through a low power state, where hardware breakpoints +are not preserved, and restoring the setup when the CPU is brought +back onlne. + +Additionally, support for CPU PMUs present in big.LITTLE systems has +been integrated into the kernel, with the framework now also +supporting system PMUs. CCI-400 PMUs are the first example +implementation that is using the framework. + +SCHED_HMP patches for scheduler have now been updated to take into +account multiple domains when making decisions on task +migration, with ftrace events added for tracking these +migrations. * Feature one * Feature two * Feature three + +h2. About the TC2 Evaluation Build + +h2. Fixed in this release + +h2. Known Issues + + diff --git a/#RTSM# b/#RTSM# new file mode 100644 index 0000000..cc0e9f1 --- /dev/null +++ b/#RTSM# @@ -0,0 +1,118 @@ +h1. Real-Time System Model (RTSM) + +h2. Prerequisites + +* Install the RTSM model(s) you wish to run. You must have a valid license and the environment set up to run models +* Install "linaro-image-tools":https://wiki.linaro.org/Linaro-Image-Tools +* Install kpartx which you can get by issuing the following command in your terminal + +bc. sudo apt-get install kpartx + + +Linaro Ubuntu images are made up of two components. The "Hardware Pack":https://wiki.linaro.org/HardwarePacks, which contains the kernel, boot loader and/or Device Tree blob and a Root file system (RootFS) of your choice to generate an image. + +The RootFS can be: + +* "Nano":http:// - a very small file system that support command prompt (no X) +* "Developer":http://linktodveloper - a very small file system like the nano but with basic X support +* "ALIP":http:linktoALIP (ARM Linux Internet Platform) - A medium sized file system with full "LXDE":http://lxde.org/ light graphical desktop environment +* "Ubuntu":http://linktoubunturootfs - A full fledged file system based on the Ubuntu 12.04 Desktop environment + +?? Need to see if 12.10 is based off the 12.10 or the 12.05 FS ?? + +h3. Install Linaro Image Tools + +There are multiple ways you can get the latest Linaro Image Tools: + +** Method 1: Install them from the Linaro Image Tools "PPA":https://launchpad.net/~linaro-maintainers/+archive/tools + +bc. + sudo add-apt-repository ppa:linaro-maintainers/tools@ + sudo apt-get update@ + sudo apt-get install linaro-image-tools@ + +** Method 2: Building from source. + +bc. wget http://releases.linaro.org/12.10/components/platform/linaro-image-tools/linaro-image-tools-2012.10.1.tar.gz + +h2. Create a 2GB image file + +RTSM will only deal with file systems up to 2GB in size, however the pre-built image for Ubuntu requires a 4GB filesystem. Therefore we will build our own image using the pre-built artifacts, as obtained in the Binary Image Installation tab on this page. + +?? I am afraid I don't follow. Can we make this clearer. Instead of "However" shouldn't we say that we can't use the Ubuntu file system? ?? + +We use a "nano":https://wiki.linaro.org/Platform/DevPlatform/Nano RootFS for this example, however, you could use other RootFS types, as mentioned above, so long as you can install it to a 2GB file. Note, you will also need the @boot.tar.bz2@ file from the Android release. + +Using the following command, you will download the nano RootFS, the hardware back and the boot.tar.gz you need from the Android build. + +bc. + wget \ + http://releases.linaro.org/12.09/ubuntu/precise-images/nano/linaro-precise-nano-20120923-417.tar.gz \ + http://releases.linaro.org/12.09/ubuntu/vexpress/hwpack_linaro-vexpress_20120925-322_armhf_supported.tar.gz \ + http://releases.linaro.org/12.09/android/images/vexpress-jb-gcc47-armlt-tracking-open/boot.tar.bz2 + +Now you need to create the image using the following commands. + +bc. + sudo linaro-media-create \ + --dev vexpress \ + --rootfs ext4 \ + --image-file linaro.img \ + --image-size 2000M \ + --hwpack-force-yes \ + --binary linaro-precise-nano-20120923-417.tar.gz \ + --hwpack hwpack_linaro-vexpress_20120925-322_armhf_supported.tar.gz + +bc. + sudo kpartx -a linaro.img + mkdir boot + sudo mount /dev/mapper/loop0p1 boot + cp boot/uImage . + cp boot/uInitrd . + sudo umount boot + tar jxvf boot.tar.bz2 + +h2. Run A15x4 model + +This example shows how to run the Linaro kernel on a quad core A15 RTSM model: + +bc. + RTSM_MODEL=$HOME/ARM/RTSM/Linux64_RTSM_VE_Cortex-A15x4/RTSM_VE_Cortex-A15x4 + RTSM_BOOTWRAPPER=boot/rtsm/linux-system-semi.axf + RTSM_MMC=linaro.img + RTSM_KERNEL=uImage + RTSM_DTB=boot/rtsm/rtsm_ve-ca15x4.dtb + RTSM_INITRD=uInitrd + RTSM_CMDLINE="console=ttyAMA0,115200n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M ip=dhcp" + +bc. + $RTSM_MODEL \ + $RTSM_BOOTWRAPPER \ + -C motherboard.smsc_91c111.enabled=1 \ + -C motherboard.hostbridge.userNetworking=1 \ + -C motherboard.mmc.p_mmc_file="$RTSM_MMC" \ + -C cluster.cpu0.semihosting-cmd_line="--kernel $RTSM_KERNEL --dtb $RTSM_DTB --initrd $RTSM_INITRD -- $RTSM_CMDLINE" + +h2. Run A15x4-A7x4 model + +This example shows how to run the Linaro kernel on a big.LITTLE RTSM model: + +bc. + RTSM_MODEL=$HOME/ARM/RTSM/Linux64_RTSM_VE_Cortex-A15x4-A7x4/RTSM_VE_Cortex-A15x4-A7x4 + RTSM_BOOTWRAPPER=boot/rtsm/linux-system-semi.axf + RTSM_MMC=linaro.img + RTSM_KERNEL=uImage + RTSM_DTB=boot/rtsm/rtsm_ve-ca15x4-ca7x4.dtb + RTSM_INITRD=uInitrd + RTSM_CMDLINE="console=ttyAMA0,115200n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M ip=dhcp" + +bc. + $RTSM_MODEL \ + -a coretile.cluster0.*=$RTSM_BOOTWRAPPER \ + -a coretile.cluster1.*=$RTSM_BOOTWRAPPER \ + -C motherboard.smsc_91c111.enabled=1 \ + -C motherboard.hostbridge.userNetworking=1 \ + -C motherboard.mmc.p_mmc_file=$RTSM_MMC \ + -C coretile.dualclustersystemconfigurationblock.CFG_ACTIVECLUSTER=0x3 \ + -C coretile.cluster0.cpu0.semihosting-enable=1 \ + -C coretile.cluster0.cpu0.semihosting-cmd_line="--kernel $RTSM_KERNEL --dtb $RTSM_DTB --initrd $RTSM_INITRD -- $RTSM_CMDLINE" diff --git a/HACKING b/HACKING index 69b2262..fab4b31 100644 --- a/HACKING +++ b/HACKING @@ -28,7 +28,6 @@ h2. Get the source You can find this release source "here":http://need_some_path ?? what is the official path for the source code ?? -?? We need to offer a tar ball and point them at the git repository ?? Alternatively, you can use GIT to obtain the source code: diff --git a/HOWTO_install.txt b/HOWTO_install.txt index fc54bbc..8102431 100644 --- a/HOWTO_install.txt +++ b/HOWTO_install.txt @@ -42,8 +42,7 @@ h2. Building a custom image using pre-built components. Sometimes, you may wish to build your own custom image for a Versatile Express. Perhaps you wish to use a more recent snapshot of the "hardware pack":https://wiki.linaro.org/HardwarePacks for Ubuntu or take the latest Android build. Whatever the reason, you will want to use the "Linaro media tools":https://wiki.linaro.org/Linaro-Image-Tools to create a custom image. - -?? I have to say I am puzzled how building the image from components vs. just mounting the pre-build image and replacing things is any different?? +Using components to generate the image will yield the same functionality found in the pre-built image of the same release. h3. Prerequisites diff --git a/INSTALL b/INSTALL index d3b0c9c..7cac819 100644 --- a/INSTALL +++ b/INSTALL @@ -42,6 +42,7 @@ h2. Building a custom image using pre-built components. Sometimes, you may wish to build your own custom image for a Versatile Express. Perhaps you wish to use a more recent snapshot of the "hardware pack":https://wiki.linaro.org/HardwarePacks for Ubuntu or take the latest Android build. Whatever the reason, you will want to use the "Linaro media tools":https://wiki.linaro.org/Linaro-Image-Tools to create a custom image. +Using components to generate the image will yield the same functionality found in the pre-built image of the same release. h3. Prerequisites diff --git a/RTSM b/RTSM index fd2089e..faf7291 100644 --- a/RTSM +++ b/RTSM @@ -13,7 +13,7 @@ Linaro Ubuntu images are made up of two components. The "Hardware Pack":https:// The RootFS can be: -* "Nano":http://linktonanorootfs - a very small file system that support command prompt (no X)n +* "Nano":http://linktonanorootfs - a very small file system that support command prompt (no X) * "Developer":http://linktodveloper - a very small file system like the nano but with basic X support * "ALIP":http:linktoALIP (ARM Linux Internet Platform) - A medium sized file system with full "LXDE":http://lxde.org/ light graphical desktop environment * "Ubuntu":http://linktoubunturootfs - A full fledged file system based on the Ubuntu 12.04 Desktop environment -- cgit v1.2.3