RZ-A/Boards/YLCDRZA1H
< RZ-A
Revision as of 12:44, 1 May 2017 by Cbrandt (talk | contribs) (Created page with "200px|right 200px|right {{TOC right}} =YLCDRZA1H Board= AKA, "High Resolution Embedded GUI Solution Kit for RZ/A1H" https:/...")
YLCDRZA1H Board
AKA, "High Resolution Embedded GUI Solution Kit for RZ/A1H" https://www.renesas.com/en-us/products/software-tools/boards-and-kits/renesas-demonstration-kits/ylcdrza1h.html
The "High Resolution Embedded GUI Solution Kit for RZ/A1H" is intended to showcase the graphics and image capture capabilities of the RZ/A1H as well as 3rd party middleware (non-OS and RTOS) using a 1280x800 LCD. However, the board can be used to run Linux as well.
USB-to-Serial Module
- The board itself does not have a USB-to-Serial connection. Instead, you will have to use the PMOD connector that brings out SCIF3 and supply your own adapter.
- The Digilent PmodUSBUART module seems to work pretty good because all you have to do is plug it in and you're all set. ( https://www.digikey.com/products/en?keywords=1286-1097-ND )
Build Environment Setup
Install the RZ/A1 RSK BSP
- We will us the RSK BSP build environment even though we we will be using a YLCDRZA1H board. The reason is that the u-boot and Linux repositories on github also support YLCDRZA1H.
# Clone the BSP from github $ git clone https://github.com/renesas-rz/rskrza1_bsp.git $ cd rskrza1_bsp
Get Latest code from github
- (which will include YLCDRZA1H updates)
- Update the u-boot and kernel source inside the BSP by pulling updates from github
- Start in the base of the BSP (where the build.sh file is, where you should have left off from the last step)
$ cd output/u-boot-2015.01 ; git checkout 2015.01-rskrza1 ; git pull ; cd ../.. $ cd output/linux-3.14 ; git checkout master ; git pull ; cd ../..
Install Segger Jlink Drivers for Linux
- NOTE: This board has the JLINK HW already included on the board, so all you have to do is plug a USB cable into J17.
- Install the "J-Link Software and Documentation Pack" from Segger's website
- https://www.segger.com/downloads/jlink
- Hint: You need to click the "Click for downloads" to actually find the download links.
Building
- The tested build environment was Ubuntu. If using another distribution, some changes might be needed (but I'm not sure what exactly).
- Lines that start with the symbol '$' are to be copy/pasted into the Linux PC terminal (without the $)
- Lines that start wit the symbol '=>' are u-boot commands
- Lines that start wit the symbol '#' are just comments
Build the File System
- We do this first because we need Buildroot to download the toolchain that we will use to build u-boot and the kernel.
- NOTE that I suggest the 'minimum' file system option when prompted becase it makes the build much quicker.
- NOTE that because the Stream it uses a different serial port (SCIF3) as the RSK board(SCIF2), we will have to modify the Buildroot config from it's default RSK board value.
$ ./build.sh buidlroot
- Now go back and switch the serial console (BR2_TARGET_GENERIC_GETTY_PORT from /dev/ttySC2 to /dev/ttySC3
$ ./build.sh buidlroot menuconfig
- System configuration -> Run a getty (login prompt) after boot -> (ttySC2) TTY port -> Change "ttySC2" to ttySC3"
- Now use ESC to back out of the menu and save the new config.
- Run Buildroot again (will be quick this time)
$ ./build.sh buidlroot
- Also build the AXFS XIP file image
$ ./build.sh axfs
Build u-boot
$ ./build.sh u-boot ylcdrza1h_defconfig $ ./build.sh u-boot
Build the Kernel and Device Tree
more coming soon...