summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-10-01 13:09:34 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-10-01 13:09:34 +0200
commit22a3cbf553ce2720f6bcb970d4d4a524b072a666 (patch)
tree19a79e07b2ac0082aac6a9e4a477edd5c8fa6c0e
parent90cb3514239f0c890f807f829c592cc9d5584edc (diff)
ubuntu: dragonboard410c: updates for 15.09 releaseubuntu-qcom-dragonboard410c-15.09
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--ubuntu/boards/dragonboard410c/README.textile.in75
-rw-r--r--ubuntu/boards/dragonboard410c/README.textile.vars4
2 files changed, 61 insertions, 18 deletions
diff --git a/ubuntu/boards/dragonboard410c/README.textile.in b/ubuntu/boards/dragonboard410c/README.textile.in
index 4ee4a66..008fd99 100644
--- a/ubuntu/boards/dragonboard410c/README.textile.in
+++ b/ubuntu/boards/dragonboard410c/README.textile.in
@@ -2,21 +2,16 @@ The Linaro Qualcomm Landing Team is pleased to announce the new release of the _
h4. What's new in this release
-* Upgrade to Mesa 10.6.2
-* Bluetooth support is now available by default at boot
-* Initial support for h/w accelerated video playback using Gstreamer (v4l2dec plugin)
-* Migrate kernel distro configuration to "distro.config file":https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/blob/f8a46972ba59f51cbda34f4e9eee6b4d1fbe2731:/kernel/configs/distro.config
-* Various improvements in display/monitor support, especially with low resolutions.
+* Based on Linux kernel v4.2
+* Support for Grove Starter Kit for 96boards
+* Support for high speed UART (with DMA)
+* Initial support for X11/GLAMOR
* Bug fixed:
-** "the wlan device name changes at each boot":https://bugs.96boards.org/show_bug.cgi?id=36
-** "Missing configuration in the kernel":https://bugs.96boards.org/show_bug.cgi?id=37
-** "Network Manager and systemd-networkd try to do DHCP on Ethernet":https://bugs.96boards.org/show_bug.cgi?id=48
-** "1.8v Supply line on Low Speed Expansion header not enabled.":https://bugs.96boards.org/show_bug.cgi?id=51
-** "Memory leak in Xorg":https://bugs.96boards.org/show_bug.cgi?id=52
-** "Add gstreamer -bad plugins set by default in the image":https://bugs.96boards.org/show_bug.cgi?id=59
-** "wifi credentials are getting forgotten on power-down / reboot":https://bugs.96boards.org/show_bug.cgi?id=61
-** "USB audio headset are not detected":https://bugs.96boards.org/show_bug.cgi?id=62
-** "About 100MB of memory are reserved , but unused":https://bugs.96boards.org/show_bug.cgi?id=64
+** "GPIO-F (e.g. PIN28 on Low speed expansion) should be 1.8V , not 3.7V":https://bugs.96boards.org/show_bug.cgi?id=101
+** "SCM calls when kernel built with linaro gcc 4.9.3":https://bugs.96boards.org/show_bug.cgi?id=80
+** "WiFi and BT LEDs never flash":https://bugs.96boards.org/show_bug.cgi?id=53
+** "User leds names do no match the specifications":https://bugs.96boards.org/show_bug.cgi?id=54
+** "Kernel module binfmt_misc to prepare Dragonboard410c for Exagear":https://bugs.96boards.org/show_bug.cgi?id=67
h4. Features
@@ -73,6 +68,8 @@ If you have flashed the developer image, when booting the board you will end up
h4. How to get and customize the kernel source code
+h5. Building the Linux kernel from source
+
The Linux kernel used in this release is available via tags in the "Linaro Qualcomm Landing Team git repository":https://git.linaro.org/landing-teams/working/qualcomm/kernel.git:
bc. git: http://git.linaro.org/landing-teams/working/qualcomm/kernel.git
@@ -91,9 +88,38 @@ git checkout -b kernel-##RELEASE## ubuntu-qcom-dragonboard410c-##RELEASE##
export ARCH=arm64
export CROSS_COMPILE=<path to your GCC cross compiler>/aarch64-linux-gnu-
make defconfig distro.config
-make -j4 Image dtbs
+make -j4 Image dtbs KERNELRELEASE=##KERNEL_VER##.0-linaro-lt-qcom
+
+h5. Building a boot image
+
+You now need to create a valid boot image with your own kernel build.
+
+On your host PC, we need to install the following tools:
+
+bc. sudo apt-get install device-tree-compiler
+git clone git://codeaurora.org/quic/kernel/skales
+
+The boot image consists of the table of device tree (@dt.img@), the kernel image (@Image@) and an init ramdisk image.
+
+The @dtbTool@ is a standalone application that will process the DTBs generated during the kernel build, to create the table of device tree image. This tool is included in the @skales@ git tree cloned above.
+
+bc. ./skales/dtbTool -o dt.img -s 2048 arch/arm64/boot/dts/qcom/
+
+To create the boot image, you also need a ramdisk image, and you can use the one from the release:
+
+bc. wget http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/##RELEASE##/initrd.img-##KERNEL_VER##.0-linaro-lt-qcom
-You now need to create a valid boot image with your own kernel build. Please refer to this "wiki":https://github.com/96boards/documentation/wiki/Dragonboard-410c-Boot-Image for detailed instructions to create such a boot image.
+The tool @mkbootimg@ (also in the git tree previously cloned) is a standalone application that will process all files and create the boot image that can then be booted on the target board, or flash into the on-board eMMC. The boot image also contains the kernel bootargs, which can be changed as needed in the next command:
+
+bc. ./skales/mkbootimg --kernel arch/arm64/boot/Image \
+ --ramdisk initrd.img-##KERNEL_VER##.0-linaro-lt-qcom \
+ --output boot-db410c.img \
+ --dt dt.img \
+ --pagesize 2048 \
+ --base 0x80000000 \
+ --cmdline "root=/dev/disk/by-partlabel/rootfs rw rootwait console=ttyMSM0,115200n8"
+
+h5. Booting a custom boot image
Assuming you have now built a valid boot image called @boot-db410c.img@, you can run the following @fastboot@ command to boot it on the board:
@@ -148,6 +174,23 @@ Notes:
* all associated .deb files will be located in the root folder, and can be installed in the system with dpkg -i <pkg>.deb.
* all these commands should be executed on the target directly, not on the development host. It is generally enough to build packages natively, on the target platform. For some packages, it is possible to cross compile Ubuntu/Debian packages however this goes beyond the scope of this wiki page.
+h4. Using X11 with modesetting video driver and GLAMOR
+
+While not enabled by default, it is possible use evaluate X11/GLAMOR. In order to start X server with the modesetting driver, with GLAMOR support, your first need to make sure that X server is not running:
+
+bc. sudo systemctl stop lightdm
+
+Then you can run the following commands to switch from freedreno video driver, to modesetting, and restart the LXDE desktop:
+
+bc. sudo sed -i 's/freedreno/modesetting/' /usr/share/X11/xorg.conf.d/42-freedreno.conf
+sudo systemctl start lightdm
+
+To switch back to freedreno video driver, please run:
+
+bc. sudo systemctl stop lightdm
+sudo sed -i 's/modesetting/freedreno/' /usr/share/X11/xorg.conf.d/42-freedreno.conf
+sudo systemctl start lightdm
+
h4. Feedback and Support
For general question or support request, please go to "96boards.org Community forum":https://www.96boards.org/forums/forum/products/dragonboard410c/.
diff --git a/ubuntu/boards/dragonboard410c/README.textile.vars b/ubuntu/boards/dragonboard410c/README.textile.vars
index 4380464..115fad0 100644
--- a/ubuntu/boards/dragonboard410c/README.textile.vars
+++ b/ubuntu/boards/dragonboard410c/README.textile.vars
@@ -1,6 +1,6 @@
-export RELEASE="15.07"
+export RELEASE="15.09"
export UBUNTU_REL="15.04"
-export KERNEL_VER="4.0"
+export KERNEL_VER="4.2"
export UBUNTU_REL_NICK="vivid"
export LINARO_GCC="http://releases.linaro.org/14.11/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz"
export QDN_FIRMWARE_LINK="https://developer.qualcomm.com/download/linux-ubuntu-board-support-package-v1.zip"