SlideShare ist ein Scribd-Unternehmen logo
1 von 59
Downloaden Sie, um offline zu lesen
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 1
É possível rodar Linux
com menos de 10MB de
RAM?
Renesas Electronics Corporation
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 2
Renesas RZ microprocessor (MPU) product family
RZ/A Microprocessors
RZ/A1 Linux Support
Summary
AGENDA
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 3
S1
SVGA
WXGA
1080p
Segment
Displays
RZ/G1
RZ/A1
4K
R-Car gen3
Synergy S5 & S7
Synergy S3 S3
Synergy S1
MCUs
MPUR-Car gen2
Cortex-M0
Cortex-M4+
Cortex-M4+
Cortex-M4
Cortex-A9
Dual & Quad Cortex-A7
and A15s, plus image
processors, and more
Dual & Quad
Cortex-A7, A15
Dual & Quad Cortex-A53, A57
plus image processors,etc.
RZ/A
Series
MPU
SoC
SoC
S5
S7
R-Car
Gen3
Series
Synergy Platform
• Software
• Microcontrollers
• Tools & Kits
• Solutions
• Gallery
Performance
R-Car
Gen2
Series
RZ/G
Series
RZ/T
RENESAS ARM-BASED MCUS & MPUS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 4
RENESAS RZ FAMILY
RZ/A1H
(10MB)
400MHz Cortex-A9
1000 DMIPS
RZ/A1M
(5MB)
400MHz Cortex-A9
1000 DMIPS
RZ/A1
Cortex-A9, Single Core
Large Embedded RAM
RZ/A1LU
(3MB)
400MHz Cortex-A9
1000 DMIPS
RZ/A1L
(3MB)
400MHz Cortex-A9
1000 DMIPS
Linux, RTOS, bare-metal
H.264, 3D graphics
Linux, Android, QNX
RZ/G1
Multi-Core
Cortex-A7 & A15
Wider memory bus than
RZ/G1N, more flexible
I/O, faster graphics
RZ/G1N, 1.5GHz
Dual Cortex-A15
10500 DMIPS
RZ/G1M, 1.5GHz
Dual Cortex-A15
10500 DMIPS
RZ/G1H, 1.4GHz
Quad Cortex-A15
Quad Cortex-A7
Over 25K DMIPS
Power-
Optimized
Performance-
Optimized
RZ/G1E, 1GHz
Dual Cortex-A7
3800 DMIPS
4-layer board & no
PMIC with RZ/G1C
RZ/G1C, 1GHz
Dual Cortex-A7
3800 DMIPS
BOM Cost-
Optimized
RZ/A1LC
(2MB)
400MHz Cortex-A9
1000 DMIPS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 5
FOR REFERENCE:
GUI RESOLUTIONS BY RENESAS DEVICE
SVGA
800x600
WXGA
1280x800
HD 1080
1920x1080
Segment
Displays
RZ/G1
RZ/A1
Synergy S5 & S7
Synergy S1 & S3
RL78
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 6
RZ/A Microprocessors
MPU Performance with MCU Ease of Design
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 7
RENESAS RZ/A
RZ/A1H
(10MB)
400MHz Cortex-A9
1000 DMIPS
RZ/A1M
(5MB)
400MHz Cortex-A9
1000 DMIPS
RZ/A1
Cortex-A9, Single Core
Large Embedded RAM
RZ/A1LU
(3MB)
400MHz Cortex-A9
1000 DMIPS
RZ/A1L
(3MB)
400MHz Cortex-A9
1000 DMIPS
Linux, RTOS, bare-metal
RZ/A1LC
(2MB)
400MHz Cortex-A9
1000 DMIPS
ARM Cortex A class CPU performance
▪ 400MHz ARM Cortex-A9, superscalar core
▪ Up to 1000 DMIPS
Large on-chip integrated RAM size
▪ Internal SRAM covers 2MB-10MB
▪ No need for high speed external DDR DRAM Memory
Simple Board Design
▪ Fewer board layers (simple 4 layer board design)
▪ No need for PMIC (Power Management IC)
Execute in place directly from QSPI flash
▪ No need to load program from flash to RAM
▪ Smaller RAM footprint, efficient RAM usage
Camera and LCD support
▪ Up to 2 independent camera inputs (Analog and Digital)
▪ Up to 2 LCD controllers
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 8
RZ/A1 Applications
HMI/GUI
On-chip SRAM and 400MHz Cortex
A9 Core for smooth High Res. HMIs
- Home Appliance
- Medical Panels
- Industrial HMI
- Commercial Kitchen
Camera Applications
Support for Analog and digital
camera interfaces
- Backup Cameras
- Scan Engines (QR Code)
- Camera modules (face and body
detection)
Connectivity
Ethernet and SDHC interface for
WiFi
- Routers
- Connected Power Meters
Thermal Imaging
Connected Power/Energy Meter
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 9
RENESAS RZ/A1 VALUE PROPOSITION
The performance of an MPU with the design simplicity of an MCU
Simple Power Delivery
2 chip solution
Fewer Board Layers
Simpler Routing
Lower EMI
Easy Memory Procurement
Lower BOM
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 10
HIGHLY OPTIMIZED MEMORY ARCHITECTURE
32KB
SDRAM QSPI
SRAM SRAM SRAM SRAM
128 bit x4 Crossbar Switch Fabric
NOR Flash
Highly parallel
multi-mastering
switch fabric
Predictive caching and out-of-
order execution minimizes wait
states due to cache misses
x4 parallel accesses to
SRAM possible
LCD
Controller
(2)
ARM
Cortex-A9
3 levels of
caching for
serial flash
2 levels of
caching for
SDRAM and
parallel flash
L1
L2
32KB
128KB
with Cache
QSPI
Controller
LCD
Controller
(1)
I D
© 2017 Renesas Electronics Corporation. All rights reserved. CONFIDENTIAL Page 11
RZ/A1 Devices
© 2017 Renesas Electronics Corporation. All rights reserved. Page 12
Package Line-Up
Page 12
176 BGA 176 QFP 208 QFP 256 BGA 256 QFP 324 BGA
Pitch (mm) 0.5 0.5 0.5 0.5 0.4 0.8
Size (mm x mm) 8 x 8 24 x 24 28 x 28 11 x 11 28 x 28 19 x 19
RZ/A1H ✓ ✓ ✓
RZ/A1M ✓ ✓ ✓
RZ/A1L ✓ ✓ ✓
RZ/A1LU ✓ ✓ ✓
RZ/A1LC ✓
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 13
RZ/A1H AND RZ/A1M BLOCK DIAGRAM
Enhanced Graphics and Camera
Audio and Sound
(Optional)
Security
Variety of Interfaces and Protocols
10MB/5MB On-Chip RAM
RZ/A1H,M, 400MHz
Cortex-A9
1000 DMIPS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 14
Video Display Controller & Camera
Audio SCUX Unit Variety of Interfaces and Protocols
3MB On-Chip RAM
RZ/A1L BLOCK DIAGRAM
RZ/A1L 400MHz
Cortex-A9
1000 DMIPS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 15
RZ/A1LU BLOCK DIAGRAM
JPEG Engine
(Optional)
Security
Ethernet AVB
3MB On-Chip RAM
RZ/A1LU, 400MHz
Cortex-A9
1000 DMIPS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 16
RZ/A1LC (2MB SRAM)
Feature RZ/A1LU RZ/A1L RZ/A1LC
SRAM size 3MB 3MB 2MB
JPEG
Compression
Engine
Yes No No
Ethernet AVB Yes No No
Dual Data
Rate QSPI
Yes No No
Enhanced
(Optional)
Security
Yes No No
Feature RZ/A1LU RZ/A1L RZ/A1LC
IEBus No Yes No
LIN Master No Yes No
MOST50 No Yes No
Low Cost, 2MB RZ/A1LC – 176pin BGA Only Fewer features than both RZ/A1L and RZ/A1LU
RZ/A1LC, 400MHz
Cortex-A9
1000 DMIPS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 17
Quiz
▪Sistemas com MPU costumam ser complexos por depender de
barramentos paralelos de alta velocidade. A família RZA1 tem
uma vantagem trazendo até 10MB de RAM embutida. Qual é o
tamanho do barramento interno para esta memória?
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 18
Quiz
▪Sistemas com MPU costumam ser complexos por depender de
barramentos paralelos de alta velocidade. A família RZA1 tem
uma vantagem trazendo até 10MB de RAM embutida. Qual é o
tamanho do barramento interno para esta memória?
Resp.: 128bits
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 19
Quiz
▪Sistemas com MPU costumam ser complexos por depender de
barramentos paralelos de alta velocidade. A família RZA1 tem
uma vantagem trazendo até 10MB de RAM embutida. Qual é o
tamanho do barramento interno para esta memória?
Resp.: 128bits
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 20
RZ/A1 Tools and RTOS support
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 21
RZ/A1 TOOL-CHAIN
Tool Category
IDE
IAR
EWARM
ARM DS-5 e2studio
Green Hills
MULTI
Compiler IAR ARM DS-5, GCC GCC Green Hills
Debugger SW IAR ARM DS-5 Segger GDB Green Hills
Debug Probes I-Jet, Jlink ULINK2, DSTREAM J-Link Green Hills Probe
Boards RSK, GENMAI RSK, GENMAI RSK GENMAI
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 22
REAL TIME OS SUPPORT
Vendor Tool
Express Logic ThreadX
FreeRTOS FreeRTOS
ARM Mbed OS
ARM RTX
Rowebots Unison RTOS
Micrium uC/OS-III
© 2017 Renesas Electronics Corporation. All rights reserved. Page 23
RZ/A1 Development Kits
Board Name
Renesas Starter Kit (RZ-RSK+) – RZ/A1H
YR0K77210S011BE – with LCD Panel
YR0K77210S009BE – without LCD Panel
Stream it!
YSTREAM-IT-RZ-V2
GR-PEACH mBED Board – RZ/A1H
YGRPEACHFULL - Ethernet
YGRPEACHNORMAL – with connector for WiFi module
Most broadly
supported KIT
Mbed development environment.
Works with Adruino Shields
FreeRTOS based Kit with Camera
Streaming and Display
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 24
RZ/A1 Software Development Kit https://www.renesas.com/en-us/products/software-tools/software-os-
middleware-driver/software-package/rza1-software-development-kit.html
CMSIS-RTOS RTX Kit
FreeRTOS Kit with TES Guiliani HMI
https://www.renesas.com/en-us/products/software-tools/software-os-middleware-driver/software-package/rza1-
software-development-kit-free-rtos.html
“RZ/A Software Package is an HMI software development kit for the RZ/A1 that provides
consistent support for camera input, LCD output, and image adjustment. It consists of
device drivers, middleware, and sample programs for the RZ/A1 in a single package.”
1
2
© 2017 Renesas Electronics Corporation. All rights reserved. Page 25
GR-PEACH ARM mBed Board for IoT
GR PEACH
REA Ordering PN: YGRPEACHFULL
First (and only) Cortex A class MPU ARM mBED Board
GR PEACH Audio Camera Shield
REA Ordering PN: YGRPEACHAUDIOCAMERASHIELD
GR PEACH LCD Shield
REA Ordering PN: YGRPEACHLCDSHIELD
•Arduino form-factor
• Compatible with a wide range of commercially
available shields
• Built-in USB drag 'n' drop FLASH programmer
•mbed.org Developer Website
• Online Compiler
• High level C/C++ SDK
• Active developer community
Available through normal Renesas Sales Channels
https://developer.mbed.org/platforms/Renesas-GR-PEACH/
Lots of sample programs
available
© 2017 Renesas Electronics Corporation. All rights reserved.
Quiz
Page 26
▪A família RZA1 conta com um Cortex-A9 @ 400MHz. O usuário
pode se beneficiar deste poder de processamento utilizando um
RTOS. Quais os três RTOS gratuitos que estão portados para
este item?
© 2017 Renesas Electronics Corporation. All rights reserved.
Quiz
Page 27
▪A família RZA1 conta com um Cortex-A9 @ 400MHz. O usuário
pode se beneficiar deste poder de processamento utilizando um
RTOS. Quais os três RTOS gratuitos que estão portados para
este item?
Resp.: CMSIS-RTOS RTX, FreeRTOS e Mbed OS
© 2017 Renesas Electronics Corporation. All rights reserved.
Quiz
Page 28
▪A família RZA1 conta com um Cortex-A9 @ 400MHz. O usuário
pode se beneficiar deste poder de processamento utilizando um
RTOS. Quais os três RTOS gratuitos que estão portados para
este item?
Resp.: CMSIS-RTOS RTX, FreeRTOS e Mbed OS
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 29
RZ/A1 Linux Support
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 30
Execute-in-Place (XIP) Linux with Renesas RZ/A1
Timesys.com (URL)
Renesas GitHub (URL)
https://youtu.be/Rbsi8aTskxI
The short 4 minute video covers
a) What is XIP Linux
b) How you can achieve Boot to Application under 3 seconds
c) WiFi Gateway Demo on XIP Linux
Sample Code at RenesasRulz (URL)
(Community Forum)
Linux 4.9 and 4.14 BSP now available for RZ/A1
http://www.elinux.org/RZ-A
© 2017 Renesas Electronics Corporation. All rights reserved. Page 31
About XIP Linux on RZ/A1 MPU
➢XIP Linux is just regular Linux with kernel and file system components that reside in QSPI instead of being
copied to RAM
➢Very small kernel SRAM footprint can be achieved
➢Just under 1.5MB SRAM to run (in a minimum implementation)
➢ Additional SRAM consumed for other drivers’ and applications’ r/w memory plus application’s graphics buffer/s
➢AXFS works in concert w/ XIP kernel to keep SRAM usage low
➢MMU used to map QSPI memory to application's virtual memory space without being copied to RAM first
➢Each file is broken into 4KB pages and each page can be run in XIP or RAM
➢ High granularity in how file memory can be allocated in physical memory
© 2017 Renesas Electronics Corporation. All rights reserved. Page 32
Linux (Standard SDRAM Architecture)
Block Diagram of RZ/A1
SDRAM Linux implementation
RZ/A1
On-Chip RAM
Flash
SDRAM
Kernel & FS
Kernel & FS
Executes from
SDRAM
© 2017 Renesas Electronics Corporation. All rights reserved. Page 33
RZ/A1 Linux (XIP from QSPI Architecture)
QSPI Flash
FS Application Data
(r/w)
RZ/A1
On-Chip RAM KernelKernel Code
(r/o) Executes the kernel
from QSPI.
AXFS File System (FS) executes
from QSPI.
Portions copied to on-chip SRAM as
needed.
Enables XIP in all RZ/A1 devices.
Kernel Data (r/w)
Boot Loader (U-Boot)
File SystemFS Application
Code (r/o)
3MB (RZ/A1L)
5MB (RZ/A1M)
10MB (RZ/A1H)
© 2017 Renesas Electronics Corporation. All rights reserved. Page 34
Very Fast Boot-Up with XIP Linux on RZ/A1
Sub-five-second Linux boot
Software Code Payload Need Not Be Copied from Flash to External Memory
Up to 30 seconds on competing devices using
traditional DRAM execution
vs.
3, 2, 1, BOOT……………..!
LCD Output Screen
Example below: Boot to a multiple application GUI launcher screen
© 2017 Renesas Electronics Corporation. All rights reserved. Page 35
Support for Various Graphics Frameworks
Crank Software Storyboard Suite
▪ Optimized for embedded systems
▪ Very responsive performance
▪ Superior GUI design environment
DirectFB
▪ Direct frame buffer access
▪ Very efficient - does not require copying all graphics from QSPI to SRAM in order to run
▪ Very responsive performance with minimal SRAM footprint
Qt
▪ Industry standard for large memory systems
▪ Can be used in XIP environment, as well
© 2017 Renesas Electronics Corporation. All rights reserved. Page 36
Typical XIP Linux SRAM Usage (est.)
Component SRAM (MB) est.* Comments
Kernel 1.5 Minimum kernel includes:
- MTU2 Timer (kernel time keeper). SCIF2 - 1 ch (serial console)
- RIIC - 1 ch (keeps LEDs blinking). AXFS file system
File System Apps 0.05 Per app to get it started
USB 0.30 Need RAM size to read thumb drive
(50KB code, 250KB buffer)
Ethernet 0.20
WiFi 0.50 Silex - 400 KB, GP - 50 KB
WiFi encryption 0.00 Supplicant - user-space app
Gainspan gets rid of this 0.25
Audio 0.25 Sound system in Linux
Qt 0.85 Estimation assumes 10x10 KB graphics widgets.
Must also account for LCD buffer.
Crank TBD n/a
Direct FB 0.35 Estimation assumes 10x10 KB graphics widgets.
Must also account for LCD buffer. No need to double buffer (don't have
to hold everything in RAM - can use pointers to QSPI).
*Estimates do not include LCD buffer space Preliminary Pending Further Benchmarking
© 2017 Renesas Electronics Corporation. All rights reserved.
RZ/A1 Linux – Example Demo
© 2017 Renesas Electronics Corporation. All rights reserved. Page 38
XIP Linux DirectFB Graphics Demo
Demo selector & animation apps
▪ Running from QSPI in XIP mode
Graphics content
▪ Pulled from QSPI flash in real-time
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93
CPU Utilization
DirectFB Animation Video
System resources used
• Average CPU utilization = 12%
• QSPI memory used = 8.2 MB
• Max SRAM = 2.79 MB (fast animation)
(kernel & app.) 2.72 MB (slow animation)
• SRAM (frame buffers) = 1.5 MB
• WVGA (800x480 @ 16 bpp)
• Max SRAM (total) = 4.29 MB (fast animation)
4.22 MB (slow animation)
• Drivers used
• MTU2 Timer (kernel time keeper), UART (for serial
communication), RIIC - 1 ch (keeps LEDs blinking), AXFS
file system, LCD (VDC5), Touchscreen (I2C)
© 2017 Renesas Electronics Corporation. All rights reserved. Page 39
DirectFB “Sonic” Demo Memory Layout
Demo would run in RZ/A1M with 0.7 MB
of SRAM headroom
QSPI Flash
FS Application Data
(r/w)
RZ/A1
On-Chip RAM
Kernel
(4.0 MB)
XIP kernel
AXFS File System
• DirectFB (0.5 MB)
• RootFS (1.5 MB)
• Graphic Images (2.2 MB)
o Background (1.5MB)
o Sonic sprites (0.7 MB)
o Buttons (0.05 MB)
Kernel Data (r/w)
Boot Loader (U-Boot)
File System
(4.2 MB)5MB (RZ/A1M)
2.79 MB
1.5 MB Frame Buffers
4.29 MB
0.71 MB
© 2017 Renesas Electronics Corporation. All rights reserved. Page 40
H.264 Running in XIP Linux
 Consilient H.264 demo
(Software IP)
● XIP kernel, standard FS
● Adds less than 1 MB of SRAM
overhead to QVGA system
Resolution
Frame Rate
(Linux)
SRAM Overhead*
H.264
Encode
QVGA
(320 @ 240) 30 fps 0.8 MB
VGA
(640 x 480) 7 fps 2.5 MB
H.264
Decode
QVGA
(320 @ 240) 90 fps 0.8 MB
VGA
(640 x 480) 35 fps 2.5 MB
SDCard
Decoder
Encoder
*SRAM overhead includes
o H.264 algorithm state memory
o H.264 algorithm program
o 2 Frame capture buffers (YUV 420) for encoder
o 2 Frame display buffers (YUV 420) for decoder
© 2017 Renesas Electronics Corporation. All rights reserved. Page 41
BSP Build Environment
Page 41
Features
▪ A single build script (build.sh) is used to perform all operations (configure, build, download, etc...)
▪ u-boot and kernel source are hosted individually on github.com (automatically downloaded by build script)
▪ Includes Sample applications
▪ Includes testing documentation (doc/testing/*).
▪ Sample Device Trees Examples (arch/arm/boot/dts/r7s72100-rskrza1_testing.dts)
▪ List of Renesas BSP drivers (doc/kernel_drivers.txt)
▪ Contains a ‘update’ command to pull in repository updates
▪ Buildroot Long Term Support (LTS) updates are maintained (for 1 year)
▪ Contains a tool to make creating your own custom board BSP easier
▪ Uses Segger J-Link to download images to boards
Board Selection Screen
© 2017 Renesas Electronics Corporation. All rights reserved. Page 42
Online Resources
Page 42
Application Notes, Pre-Built Binaries (RSK, Stream it), BSP Porting Guides, Demos, Forum
▪ https://renesasrulz.com/rz/m/files_linux
▪ https://renesasrulz.com/rz/f/rz---forum
Build Instructions and Required Board Modifications
▪ https://elinux.org/RZ-A
▪ Supported boards: RSK, Stream it, Genmai, GR-PEACH, YLCDRZA1H
Github Repositories
▪ https://github.com/renesas-rz
© 2017 Renesas Electronics Corporation. All rights reserved. Page 43
RZ/A1 Linux BSP
Page 43
Linux 4.9
▪ Linux-4.9.x kernel + LTSI + longterm stable updates
▪ u-boot-2017.05
▪ Buildroot-2016.08, Buildroot-2017.02.x (LTS)
▪ PREEMPT_RT branch
▪ https://github.com/renesas-rz/rza_linux-4.9_bsp
Linux 4.14
▪ Linux-4.14.x kernel + longterm stable updates
▪ u-boot-2017.05
▪ Buildroot-2017.02.x (LTS)
▪ https://github.com/renesas-rz/rza_linux-4.14_bsp
© 2017 Renesas Electronics Corporation. All rights reserved. Page 44
RZ/A1 Linux BSP
Page 44
Linux 3.14 (EOL)
▪ Linux 3.14.79 (final)
▪ u-boot-2015.01
▪ Buildroot-2014.05, Buildroot-2016.08
▪ No more BSP releases (EOL by kernel community)
▪ Github repositories will only be updated with bug fixes
© 2017 Renesas Electronics Corporation. All rights reserved. Page 45
System Configuration Diagram
Bootloader u-boot
SCUX, SSI, SPDIF,
SDG, CDROMDEC
Audio
VDC5, JCU, CEU, R-GPVG,
DVDEC, IMR, DISCOM, PFV
Graphics
MTU2, OSTM, RTC,
WDT, MotorPWM
Timers
USB(HOST/FUNC), SD/SDIO/MMC, SCI/SCIF,
ETHER, SPI, I2C, CAN, LIN, EtherAVB, MOST
Connectivity
On-chip RAM, BSC,
SPIBSC, NAND
Memory
DMAC, ADC,
CPG (LPM)
System
System calls
Process management
Timer management
Interrupt
management
Architecture
dependent
Memory
management
Memory manager
Device drivers
Block type Character type Network type
Linux Kernel
File system
Device management
Protocol stack
Subsystems
Userland
User application
Buildroot
Libraries (system library, user library)
System commands, system server
RZ/A1 hardware IP
White text: Supported
Light blue text: Unsupported
External hardware
Linux kernel
Overview of RZ/A1 XIP Linux
© 2017 Renesas Electronics Corporation. All rights reserved.
General Diagram
Page 46
Support
 Application notes
 Demo programs
 Q&A (community-based)
Internet
Host environment for development
 Ubuntu 14.04
Target board
 RSK+ for RZ/A1H
Development tool
 J-LINK Lite
(flash programming tool)
(JTAG debugging tool)
Source code
Linux Kernel
U-Boot
Buildroot
RZ/A1 XIP Linux BSP
Patch files, build scripts, etc.
GCC ToolChain
Linaro ToolChain
GCC/binutils/uclibc, etc.
Binary programs
User applications
Lineo Solutions, Inc. provides consulting,
customizing, and support services for
RZ/A1 Linux (fee-based).
eLinux
Overview of RZ/A1 XIP Linux
© 2017 Renesas Electronics Corporation. All rights reserved. Page 47
Supplementary Explanation
 Why are there multiple versions, 3.14, 4.9, 4.14, and so on? Which version should I use?
✓ Each version of the Linux kernel has its own maintenance period,
1)
and it is no longer maintained once that period
elapses. The maintenance period of 3.14 has already expired, to migration to 4.9 is underway. We are also preparing a
4.14 version that will support the latest kernel requests.
✓ Compared with current support for 3.14, there are fewer drivers and application notes for 4.9 and 4.14. Renesas
recommends 4.9, but in light of the above considerations you may wish to select 3.14.
 Are RZ/A1L, RZ/A1LU, and RZ/A1LC MCUs supported?
✓ These MCUs are supported by 3.14, 4.9, and 4.14. Stream It! Ver. 2 is available as a migration example.
 Should I use the release version from RenesasRulz or the latest version available on Github?
✓ The release version on RenesasRulz is a snapshot intended for demo and evaluation use.
✓ For prototyping and development, use the latest version from Github.
1) For details on Linux kernel categories and maintenance periods, refer to the link below. Note that the maintenance
period of longterm releases of version 4.4 and after has been extended from two years to six years.
https://www.kernel.org/category/releases.html
Overview of RZ/A1 XIP Linux
© 2017 Renesas Electronics Corporation. All rights reserved. Page 48
Support for Peripheral Functions (1)
1) Connect EEPROM, port expander, etc.
2) Connect to PMOD connector. (ST7735FB driver supplied with Linux can be used but is unsupported.)
3) MAX9856 is used as an external codec with the MAX9856 driver supplied with Linux.
4) FT5x06 is used as a touch panel with the FT5x06 driver supplied with Linux.
●: Supported.
×: Unsupported.
Peripheral Function Driver Overview Linux-3.14 Linux-4.9 Linux-4.14
Linux Kernel Linux Kernel ● ● ●
LinuxDriver
QSPI flash MTD driver supplied with Linux is used. ×4 mode and dual-chip configuration support, R yes, W no. ● ● ●
NOR flash MTD driver supplied with Linux is used. NOR flash R/W yes. ● ● ●
Serial (SCI/SCIF) Conforms to Linux-standard driver interface. 300 to 115,200 bps support (300 and 600 bps not usable with RSK). ● ● ●
I2C Conforms to Linux-standard driver interface. 100 and 400 kbps support. 10-bit addresses not supported.
(1
● ● ●
SPI (RSPI) Conforms to Linux-standard driver interface.
(2
● ● ●
Ethernet Conforms to Linux-standard driver interface. 10/100 Mbps, half-duplex/full-duplex support. ● ● ●
USB host Conforms to Linux-standard driver interface. HID devices and mass storage class support. ● ● ●
USB function Conforms to Linux-standard driver interface. CDC Ethernet gadget support. ● ● ●
SDHC/SDIO Conforms to Linux-standard driver interface. Plug/unplug detection support. ● ● ●
MMC Conforms to Linux-standard driver interface. ● ● ●
Audio (SSIF/SCUX) Conforms to Linux-standard driver interface (ALSA). Play/record/sampling rate conversion support.
(3
● ● ●
Display (VDC5/LVDS) Conforms to Linux-standard driver interface (LinuxFB). (Support for display function only.)
(4
● ● ●
DMAC Conforms to Linux-standard driver interface (DMAEngine). SDHC/SDIO, MMC, and audio driver support. ● ● ●
RTC Conforms to Linux-standard driver interface. ● ● ●
L2CC PL310 driver supplied with Linux is used. ● ● ●
Functions and Features of RZ/A1 XIP Linux
© 2017 Renesas Electronics Corporation. All rights reserved. Page 49
Support for Peripheral Functions (2)
● …対応済み
× …未対応
Peripheral Function Driver Overview Linux-3.14 Linux-4.9 Linux-4.14
LinuxDriver
PWM (MTU2) Sample driver. Outputs square waves with specified period and duty ratio on MTU2 channel 3.
(5
● X X
CAN Sample driver. Conforms to Linux-standard driver interface. Supports can-utils package.
(5
● ● ●
GPIO Sample driver. Conforms to Linux-standard driver interface (GPIO). Port I/O support; interrupts not supported. ● ● ●
ADC Sample driver. Conforms to Linux-standard driver interface (IIO). ● ● ●
Peripheral Function Sample Program Overview Linux-3.14 Linux-4.9 Linux-4.14
UserApp
Sample
CEU (Camera) Sample program. Conforms to Linux-standard driver interface (V4L2). OV7670 camera support.
(5
● X X
JCU Sample program. JPEG decoding support using dedicated library (librzjpeg). Uses UIO. ● X X
Peripheral Function Driver Overview Linux-3.14 Linux-4.9 Linux-4.14
Boot Loader Boot loader ● ● ●
LinuxDriver
Serial (SCI/SCIF) Uses driver supplied with U-Boot. Fixed at 115,200 bps. ● ● ●
Ethernet Uses driver interface supplied with U-Boot. 10/100 Mbps, half-duplex/full-duplex support. ● ● ●
I2C Uses driver interface supplied with U-Boot. 100 and 400 kbps support.
(6
● ● ●
USB host Uses driver interface supplied with U-Boot. Mass storage class support. ● ● ●
NOR flash Uses driver supplied with U-Boot. Read/write/erase support. ● ● ●
QSPI flash Uses driver interface supplied with U-Boot. Read/write/erase support; ×1/×4 mode, dual-chip support. ● ● ●
6) Connection to EEPROM, port expander, etc.
5) To run this program on an RSK board, modification of the board or a special interface is necessary.
Functions and Features of RZ/A1 XIP Linux
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 50
RZ/A1 Applications Support
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 51
GUI/HMI (HUMAN MACHINE INTERFACE)
Internal SRAM for frame buffers, layering of graphics /
images / text, 2D graphics engine (OpenVG, RGA)
Example HMI Tools supported –
• TES Guiliani on FreeRTOS
• GUIX on ThreadX
• Crank Software on XIP Linux
• Crank Software (using 2D Engine) on FreeRTOS
Ongoing Promotions –
• TES Guiliani pre-paid License
Misc. Demos –
• TES Guiliani on Stream it! ver 2.0 and RZ-RSK+
• GUIX on RZ-RSK+ and High Resolution Embedded GUI Kit
• Crank Software with 2D Gfx on RZ-RSK+
http://www.cranksoftware.com/demo_i
mage/rza1h
https://www.youtube.com/watch?v=
msiNnzLVxMM
https://www.youtube.com/watch?v=Zqk06wKB8Gs
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 52
CAMERAS SUPPORT
FOR SCANNERS, GENERAL PURPOSE VIDEO, AND EMBEDDED VISION
Strengths
• Single/ Dual Camera Support
• Cortex A9 Core for Image Processing
Tools
• Okao (Omron) Software running on their own eval board
Demos
• Backup Camera on RZ-RSK
• Streaming video on Stream it! kit
• Face Detection, Age/Gender Identification on Omron
evaluation module
Omron HVC-P2 camera module with RZ/A
Evaluation of Okao software solution
https://www.youtube.com/wa
tch?v=CCGNSfqHv1Q
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 53
JCU (JPEG Codec Unit) IP
Codec support
• Motion JPEG support in hardware
Demos
• Embedded Video Playback
• Software H.264 (Consilient Tech.)
Module Resolution FPS RAM
H.264 Encode
QVGA 40 1.3 MB
VGA 10 3.7 MB
H.264 Decode
QVGA 90 1.1 MB
VGA 35 2.5 MB
VIDEO PROCESSING
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 54
Features
▪ ARM Cortex-A9 superscalar architecture with up to
10 MB on-chip RAM with 128b wide x4 memory bus
▪ XIP from QSPI memory
▪ RTOS, bare metal and Linux Support
▪ Drive up to 2 independent LCD controllers
▪ Up to 2 independent camera inputs
Benefits
▪ Eliminate DDR DRAM entirely
▪ Performance of an MPU with the platform simplicity of
an MCU style design
▪ Lower BOM cost
▪ Accelerate time-to-market
RZ/A MPUs – SUMMARY SLIDE
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 55
Grande Prêmio
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 56
Quiz
▪O Linux XIP possibilita o uso do Linux num sistema equipado
com apenas 3MB RAM. Na implementação do Linux XIP do
RZA1, quanto de RAM é alocado para o Linux Kernel?
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 57
Quiz
Page 57
Resp.: 1.5M
▪O Linux XIP possibilita o uso do Linux num sistema equipado
com apenas 3MB RAM. Na implementação do Linux XIP do
RZA1, quanto de RAM é alocado para o Linux Kernel?
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 58
Quiz
Page 58
Resp.: 1.5M
▪O Linux XIP possibilita o uso do Linux num sistema equipado
com apenas 3MB RAM. Na implementação do Linux XIP do
RZA1, quanto de RAM é alocado para o Linux Kernel?
© 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 59
Thank You!

Weitere ähnliche Inhalte

Was ist angesagt?

Avb pov 2017 v2
Avb pov 2017 v2Avb pov 2017 v2
Avb pov 2017 v2
Jeff Green
 
SurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource BoardSurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource Board
webhostingguy
 
7.) convergence (w automation)
7.) convergence (w automation)7.) convergence (w automation)
7.) convergence (w automation)
Jeff Green
 
4.) switch performance (w features)
4.) switch performance (w features)4.) switch performance (w features)
4.) switch performance (w features)
Jeff Green
 
Air max duo features introduction
Air max duo features introductionAir max duo features introduction
Air max duo features introduction
airlive
 

Was ist angesagt? (20)

1 asr9 k platform architecture
1   asr9 k platform architecture1   asr9 k platform architecture
1 asr9 k platform architecture
 
Avb pov 2017 v2
Avb pov 2017 v2Avb pov 2017 v2
Avb pov 2017 v2
 
IBM Flex System FC5052 2-port and FC5054 4-port 16Gb FC Adapters
IBM Flex System FC5052 2-port and FC5054 4-port 16Gb FC AdaptersIBM Flex System FC5052 2-port and FC5054 4-port 16Gb FC Adapters
IBM Flex System FC5052 2-port and FC5054 4-port 16Gb FC Adapters
 
Air fiber af5_af5u_ug
Air fiber af5_af5u_ugAir fiber af5_af5u_ug
Air fiber af5_af5u_ug
 
SurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource BoardSurfRider/AMC™ - Modular DSP Resource Board
SurfRider/AMC™ - Modular DSP Resource Board
 
PLNOG22 - Paweł Wachelka - Wi-Fi 6 - 802.11ax - Nowości w sieciach Wi-Fi
PLNOG22 - Paweł Wachelka - Wi-Fi 6 - 802.11ax - Nowości w sieciach Wi-Fi PLNOG22 - Paweł Wachelka - Wi-Fi 6 - 802.11ax - Nowości w sieciach Wi-Fi
PLNOG22 - Paweł Wachelka - Wi-Fi 6 - 802.11ax - Nowości w sieciach Wi-Fi
 
Arris
ArrisArris
Arris
 
Stratix V FPGA Intro Presentation
Stratix V FPGA Intro PresentationStratix V FPGA Intro Presentation
Stratix V FPGA Intro Presentation
 
CCAP
CCAPCCAP
CCAP
 
7.) convergence (w automation)
7.) convergence (w automation)7.) convergence (w automation)
7.) convergence (w automation)
 
Linkmeup v23-compass-eos
Linkmeup v23-compass-eosLinkmeup v23-compass-eos
Linkmeup v23-compass-eos
 
Practical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICC
Practical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICCPractical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICC
Practical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICC
 
Gigabit to the Home
Gigabit to the HomeGigabit to the Home
Gigabit to the Home
 
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
 
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
 
4.) switch performance (w features)
4.) switch performance (w features)4.) switch performance (w features)
4.) switch performance (w features)
 
Product Update: SKYWAN 5G SW Release HTS v1.3.83
Product Update: SKYWAN 5G SW Release HTS v1.3.83Product Update: SKYWAN 5G SW Release HTS v1.3.83
Product Update: SKYWAN 5G SW Release HTS v1.3.83
 
Getting started with Profibus Tester 4
Getting started with Profibus Tester 4Getting started with Profibus Tester 4
Getting started with Profibus Tester 4
 
ComNet CNVETX1 Data Sheet
ComNet CNVETX1 Data SheetComNet CNVETX1 Data Sheet
ComNet CNVETX1 Data Sheet
 
Air max duo features introduction
Air max duo features introductionAir max duo features introduction
Air max duo features introduction
 

Ähnlich wie É possível rodar Linux com menos de 10 MB de RAM?

Emebedded Memories from GF pb-emem presentation
Emebedded Memories from GF pb-emem presentationEmebedded Memories from GF pb-emem presentation
Emebedded Memories from GF pb-emem presentation
sampige
 
Cisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdf
Cisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdfCisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdf
Cisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdf
Varghese Martin
 
Spansion HyperRam presentation
Spansion HyperRam presentationSpansion HyperRam presentation
Spansion HyperRam presentation
Spansion
 
The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...
The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...
The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...
bsduser071
 
"Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr...
"Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr..."Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr...
"Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr...
Edge AI and Vision Alliance
 

Ähnlich wie É possível rodar Linux com menos de 10 MB de RAM? (20)

Promise - Rich media storage solution- Thunderbolt3 storage solution - Pegasu...
Promise - Rich media storage solution- Thunderbolt3 storage solution - Pegasu...Promise - Rich media storage solution- Thunderbolt3 storage solution - Pegasu...
Promise - Rich media storage solution- Thunderbolt3 storage solution - Pegasu...
 
FPGA / SOC teknologi - i dag og i fremtiden
FPGA / SOC teknologi - i dag og i fremtidenFPGA / SOC teknologi - i dag og i fremtiden
FPGA / SOC teknologi - i dag og i fremtiden
 
10 Reasons to Use Next-Generation HMI Solution Kits for RZ/A
10 Reasons to Use Next-Generation HMI Solution Kits for RZ/A10 Reasons to Use Next-Generation HMI Solution Kits for RZ/A
10 Reasons to Use Next-Generation HMI Solution Kits for RZ/A
 
SMARC Development Kit
SMARC Development KitSMARC Development Kit
SMARC Development Kit
 
STT MRAM for Artificial Intelligence Applications
STT MRAM for Artificial Intelligence ApplicationsSTT MRAM for Artificial Intelligence Applications
STT MRAM for Artificial Intelligence Applications
 
NVMe Takes It All, SCSI Has To Fall
NVMe Takes It All, SCSI Has To FallNVMe Takes It All, SCSI Has To Fall
NVMe Takes It All, SCSI Has To Fall
 
Emebedded Memories from GF pb-emem presentation
Emebedded Memories from GF pb-emem presentationEmebedded Memories from GF pb-emem presentation
Emebedded Memories from GF pb-emem presentation
 
Cisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdf
Cisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdfCisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdf
Cisco ASR 9000 Architecture - BRKARC-2003 3rd session.pdf
 
EMCSymmetrix vmax-10
EMCSymmetrix vmax-10EMCSymmetrix vmax-10
EMCSymmetrix vmax-10
 
Blue line Supermicro Server Building Block Solutions
Blue line Supermicro Server Building Block SolutionsBlue line Supermicro Server Building Block Solutions
Blue line Supermicro Server Building Block Solutions
 
Spansion HyperRam presentation
Spansion HyperRam presentationSpansion HyperRam presentation
Spansion HyperRam presentation
 
The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...
The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...
The_New_IBM_z15_A-technical_review_of_the_Processor_Design_New_Features_IO_Ca...
 
Myir product catalog
Myir product catalogMyir product catalog
Myir product catalog
 
GS-4152, AMD’s Radeon R9-290X, One Big dGPU, by Michael Mantor
GS-4152, AMD’s Radeon R9-290X, One Big dGPU, by Michael MantorGS-4152, AMD’s Radeon R9-290X, One Big dGPU, by Michael Mantor
GS-4152, AMD’s Radeon R9-290X, One Big dGPU, by Michael Mantor
 
10 factors to consider when choosing your next 32-bit MCU
10 factors to consider when choosing your next 32-bit MCU10 factors to consider when choosing your next 32-bit MCU
10 factors to consider when choosing your next 32-bit MCU
 
"Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr...
"Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr..."Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr...
"Dynamically Reconfigurable Processor Technology for Vision Processing," a Pr...
 
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUHot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
 
OMAP
OMAPOMAP
OMAP
 
ARM cortex A15
ARM cortex A15ARM cortex A15
ARM cortex A15
 
PowerEdge Rack and Tower Server Masters - AMD Server Memory.pptx
PowerEdge Rack and Tower Server Masters - AMD Server Memory.pptxPowerEdge Rack and Tower Server Masters - AMD Server Memory.pptx
PowerEdge Rack and Tower Server Masters - AMD Server Memory.pptx
 

Mehr von Embarcados

Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...
Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...
Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...
Embarcados
 
Webinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3C
Webinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3CWebinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3C
Webinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3C
Embarcados
 

Mehr von Embarcados (20)

Webinar: Controle de motores BLDC e de indução trifásico
Webinar: Controle de motores BLDC e de indução trifásicoWebinar: Controle de motores BLDC e de indução trifásico
Webinar: Controle de motores BLDC e de indução trifásico
 
Webinar_ Julho 2023 - Embarcados.pdf
Webinar_ Julho 2023 - Embarcados.pdfWebinar_ Julho 2023 - Embarcados.pdf
Webinar_ Julho 2023 - Embarcados.pdf
 
Webinar: Especificação de Componentes Passivos
Webinar: Especificação de Componentes PassivosWebinar: Especificação de Componentes Passivos
Webinar: Especificação de Componentes Passivos
 
Webinar: Projeto de hardware utilizando Conversores DC/DC
Webinar: Projeto de hardware utilizando Conversores DC/DCWebinar: Projeto de hardware utilizando Conversores DC/DC
Webinar: Projeto de hardware utilizando Conversores DC/DC
 
Webinar: Comunicação TCP/IP segura
Webinar: Comunicação TCP/IP seguraWebinar: Comunicação TCP/IP segura
Webinar: Comunicação TCP/IP segura
 
Webinar: Desvendando o Yocto Project
Webinar: Desvendando o Yocto ProjectWebinar: Desvendando o Yocto Project
Webinar: Desvendando o Yocto Project
 
Webinar: Bancada de eletrônica profissional
Webinar: Bancada de eletrônica profissionalWebinar: Bancada de eletrônica profissional
Webinar: Bancada de eletrônica profissional
 
Webinar: Como projetar sensores de baixo consumo utilizando microcontroladore...
Webinar: Como projetar sensores de baixo consumo utilizando microcontroladore...Webinar: Como projetar sensores de baixo consumo utilizando microcontroladore...
Webinar: Como projetar sensores de baixo consumo utilizando microcontroladore...
 
Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...
Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...
Webinar: Desvendando o seguidor de linha: sensores, montagem e programação co...
 
Webinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3C
Webinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3CWebinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3C
Webinar Gravado: Um Estudo sobre a I2C e o Futuro com a I3C
 
Webinar: Microcontroladores Infineon TRAVEO T2G
Webinar: Microcontroladores Infineon TRAVEO T2GWebinar: Microcontroladores Infineon TRAVEO T2G
Webinar: Microcontroladores Infineon TRAVEO T2G
 
Webinar: Introdução à Reconfiguração dinâmica parcial em FPGAs
Webinar: Introdução à Reconfiguração dinâmica parcial em FPGAsWebinar: Introdução à Reconfiguração dinâmica parcial em FPGAs
Webinar: Introdução à Reconfiguração dinâmica parcial em FPGAs
 
Webinar: Microprocessadores 32 bits, suas principais aplicações no mercado br...
Webinar: Microprocessadores 32 bits, suas principais aplicações no mercado br...Webinar: Microprocessadores 32 bits, suas principais aplicações no mercado br...
Webinar: Microprocessadores 32 bits, suas principais aplicações no mercado br...
 
Cristais e Ressonadores Murata
Cristais e Ressonadores MurataCristais e Ressonadores Murata
Cristais e Ressonadores Murata
 
Webinar: Silicon Carbide (SiC): A tecnologia do futuro para projetos de potência
Webinar: Silicon Carbide (SiC): A tecnologia do futuro para projetos de potênciaWebinar: Silicon Carbide (SiC): A tecnologia do futuro para projetos de potência
Webinar: Silicon Carbide (SiC): A tecnologia do futuro para projetos de potência
 
Webinar: Por que dominar sistema operacional Linux deveria ser a sua prioridade?
Webinar: Por que dominar sistema operacional Linux deveria ser a sua prioridade?Webinar: Por que dominar sistema operacional Linux deveria ser a sua prioridade?
Webinar: Por que dominar sistema operacional Linux deveria ser a sua prioridade?
 
Webinar: Estratégias para comprar componentes eletrônicos em tempos de escassez
Webinar: Estratégias para comprar componentes eletrônicos em tempos de escassezWebinar: Estratégias para comprar componentes eletrônicos em tempos de escassez
Webinar: Estratégias para comprar componentes eletrônicos em tempos de escassez
 
Webinar: ChatGPT - A nova ferramenta de IA pode ameaçar ou turbinar a sua car...
Webinar: ChatGPT - A nova ferramenta de IA pode ameaçar ou turbinar a sua car...Webinar: ChatGPT - A nova ferramenta de IA pode ameaçar ou turbinar a sua car...
Webinar: ChatGPT - A nova ferramenta de IA pode ameaçar ou turbinar a sua car...
 
Webinar: Power over Ethernet (PoE) e suas aplicações no mercado brasileiro
Webinar: Power over Ethernet (PoE) e suas aplicações no mercado brasileiroWebinar: Power over Ethernet (PoE) e suas aplicações no mercado brasileiro
Webinar: Power over Ethernet (PoE) e suas aplicações no mercado brasileiro
 
Webinar: Utilizando o Yocto Project para automatizar o desenvolvimento em Lin...
Webinar: Utilizando o Yocto Project para automatizar o desenvolvimento em Lin...Webinar: Utilizando o Yocto Project para automatizar o desenvolvimento em Lin...
Webinar: Utilizando o Yocto Project para automatizar o desenvolvimento em Lin...
 

Kürzlich hochgeladen

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Kürzlich hochgeladen (20)

(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

É possível rodar Linux com menos de 10 MB de RAM?

  • 1. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 1 É possível rodar Linux com menos de 10MB de RAM? Renesas Electronics Corporation
  • 2. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 2 Renesas RZ microprocessor (MPU) product family RZ/A Microprocessors RZ/A1 Linux Support Summary AGENDA
  • 3. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 3 S1 SVGA WXGA 1080p Segment Displays RZ/G1 RZ/A1 4K R-Car gen3 Synergy S5 & S7 Synergy S3 S3 Synergy S1 MCUs MPUR-Car gen2 Cortex-M0 Cortex-M4+ Cortex-M4+ Cortex-M4 Cortex-A9 Dual & Quad Cortex-A7 and A15s, plus image processors, and more Dual & Quad Cortex-A7, A15 Dual & Quad Cortex-A53, A57 plus image processors,etc. RZ/A Series MPU SoC SoC S5 S7 R-Car Gen3 Series Synergy Platform • Software • Microcontrollers • Tools & Kits • Solutions • Gallery Performance R-Car Gen2 Series RZ/G Series RZ/T RENESAS ARM-BASED MCUS & MPUS
  • 4. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 4 RENESAS RZ FAMILY RZ/A1H (10MB) 400MHz Cortex-A9 1000 DMIPS RZ/A1M (5MB) 400MHz Cortex-A9 1000 DMIPS RZ/A1 Cortex-A9, Single Core Large Embedded RAM RZ/A1LU (3MB) 400MHz Cortex-A9 1000 DMIPS RZ/A1L (3MB) 400MHz Cortex-A9 1000 DMIPS Linux, RTOS, bare-metal H.264, 3D graphics Linux, Android, QNX RZ/G1 Multi-Core Cortex-A7 & A15 Wider memory bus than RZ/G1N, more flexible I/O, faster graphics RZ/G1N, 1.5GHz Dual Cortex-A15 10500 DMIPS RZ/G1M, 1.5GHz Dual Cortex-A15 10500 DMIPS RZ/G1H, 1.4GHz Quad Cortex-A15 Quad Cortex-A7 Over 25K DMIPS Power- Optimized Performance- Optimized RZ/G1E, 1GHz Dual Cortex-A7 3800 DMIPS 4-layer board & no PMIC with RZ/G1C RZ/G1C, 1GHz Dual Cortex-A7 3800 DMIPS BOM Cost- Optimized RZ/A1LC (2MB) 400MHz Cortex-A9 1000 DMIPS
  • 5. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 5 FOR REFERENCE: GUI RESOLUTIONS BY RENESAS DEVICE SVGA 800x600 WXGA 1280x800 HD 1080 1920x1080 Segment Displays RZ/G1 RZ/A1 Synergy S5 & S7 Synergy S1 & S3 RL78
  • 6. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 6 RZ/A Microprocessors MPU Performance with MCU Ease of Design
  • 7. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 7 RENESAS RZ/A RZ/A1H (10MB) 400MHz Cortex-A9 1000 DMIPS RZ/A1M (5MB) 400MHz Cortex-A9 1000 DMIPS RZ/A1 Cortex-A9, Single Core Large Embedded RAM RZ/A1LU (3MB) 400MHz Cortex-A9 1000 DMIPS RZ/A1L (3MB) 400MHz Cortex-A9 1000 DMIPS Linux, RTOS, bare-metal RZ/A1LC (2MB) 400MHz Cortex-A9 1000 DMIPS ARM Cortex A class CPU performance ▪ 400MHz ARM Cortex-A9, superscalar core ▪ Up to 1000 DMIPS Large on-chip integrated RAM size ▪ Internal SRAM covers 2MB-10MB ▪ No need for high speed external DDR DRAM Memory Simple Board Design ▪ Fewer board layers (simple 4 layer board design) ▪ No need for PMIC (Power Management IC) Execute in place directly from QSPI flash ▪ No need to load program from flash to RAM ▪ Smaller RAM footprint, efficient RAM usage Camera and LCD support ▪ Up to 2 independent camera inputs (Analog and Digital) ▪ Up to 2 LCD controllers
  • 8. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 8 RZ/A1 Applications HMI/GUI On-chip SRAM and 400MHz Cortex A9 Core for smooth High Res. HMIs - Home Appliance - Medical Panels - Industrial HMI - Commercial Kitchen Camera Applications Support for Analog and digital camera interfaces - Backup Cameras - Scan Engines (QR Code) - Camera modules (face and body detection) Connectivity Ethernet and SDHC interface for WiFi - Routers - Connected Power Meters Thermal Imaging Connected Power/Energy Meter
  • 9. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 9 RENESAS RZ/A1 VALUE PROPOSITION The performance of an MPU with the design simplicity of an MCU Simple Power Delivery 2 chip solution Fewer Board Layers Simpler Routing Lower EMI Easy Memory Procurement Lower BOM
  • 10. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 10 HIGHLY OPTIMIZED MEMORY ARCHITECTURE 32KB SDRAM QSPI SRAM SRAM SRAM SRAM 128 bit x4 Crossbar Switch Fabric NOR Flash Highly parallel multi-mastering switch fabric Predictive caching and out-of- order execution minimizes wait states due to cache misses x4 parallel accesses to SRAM possible LCD Controller (2) ARM Cortex-A9 3 levels of caching for serial flash 2 levels of caching for SDRAM and parallel flash L1 L2 32KB 128KB with Cache QSPI Controller LCD Controller (1) I D
  • 11. © 2017 Renesas Electronics Corporation. All rights reserved. CONFIDENTIAL Page 11 RZ/A1 Devices
  • 12. © 2017 Renesas Electronics Corporation. All rights reserved. Page 12 Package Line-Up Page 12 176 BGA 176 QFP 208 QFP 256 BGA 256 QFP 324 BGA Pitch (mm) 0.5 0.5 0.5 0.5 0.4 0.8 Size (mm x mm) 8 x 8 24 x 24 28 x 28 11 x 11 28 x 28 19 x 19 RZ/A1H ✓ ✓ ✓ RZ/A1M ✓ ✓ ✓ RZ/A1L ✓ ✓ ✓ RZ/A1LU ✓ ✓ ✓ RZ/A1LC ✓
  • 13. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 13 RZ/A1H AND RZ/A1M BLOCK DIAGRAM Enhanced Graphics and Camera Audio and Sound (Optional) Security Variety of Interfaces and Protocols 10MB/5MB On-Chip RAM RZ/A1H,M, 400MHz Cortex-A9 1000 DMIPS
  • 14. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 14 Video Display Controller & Camera Audio SCUX Unit Variety of Interfaces and Protocols 3MB On-Chip RAM RZ/A1L BLOCK DIAGRAM RZ/A1L 400MHz Cortex-A9 1000 DMIPS
  • 15. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 15 RZ/A1LU BLOCK DIAGRAM JPEG Engine (Optional) Security Ethernet AVB 3MB On-Chip RAM RZ/A1LU, 400MHz Cortex-A9 1000 DMIPS
  • 16. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 16 RZ/A1LC (2MB SRAM) Feature RZ/A1LU RZ/A1L RZ/A1LC SRAM size 3MB 3MB 2MB JPEG Compression Engine Yes No No Ethernet AVB Yes No No Dual Data Rate QSPI Yes No No Enhanced (Optional) Security Yes No No Feature RZ/A1LU RZ/A1L RZ/A1LC IEBus No Yes No LIN Master No Yes No MOST50 No Yes No Low Cost, 2MB RZ/A1LC – 176pin BGA Only Fewer features than both RZ/A1L and RZ/A1LU RZ/A1LC, 400MHz Cortex-A9 1000 DMIPS
  • 17. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 17 Quiz ▪Sistemas com MPU costumam ser complexos por depender de barramentos paralelos de alta velocidade. A família RZA1 tem uma vantagem trazendo até 10MB de RAM embutida. Qual é o tamanho do barramento interno para esta memória?
  • 18. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 18 Quiz ▪Sistemas com MPU costumam ser complexos por depender de barramentos paralelos de alta velocidade. A família RZA1 tem uma vantagem trazendo até 10MB de RAM embutida. Qual é o tamanho do barramento interno para esta memória? Resp.: 128bits
  • 19. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 19 Quiz ▪Sistemas com MPU costumam ser complexos por depender de barramentos paralelos de alta velocidade. A família RZA1 tem uma vantagem trazendo até 10MB de RAM embutida. Qual é o tamanho do barramento interno para esta memória? Resp.: 128bits
  • 20. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 20 RZ/A1 Tools and RTOS support
  • 21. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 21 RZ/A1 TOOL-CHAIN Tool Category IDE IAR EWARM ARM DS-5 e2studio Green Hills MULTI Compiler IAR ARM DS-5, GCC GCC Green Hills Debugger SW IAR ARM DS-5 Segger GDB Green Hills Debug Probes I-Jet, Jlink ULINK2, DSTREAM J-Link Green Hills Probe Boards RSK, GENMAI RSK, GENMAI RSK GENMAI
  • 22. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 22 REAL TIME OS SUPPORT Vendor Tool Express Logic ThreadX FreeRTOS FreeRTOS ARM Mbed OS ARM RTX Rowebots Unison RTOS Micrium uC/OS-III
  • 23. © 2017 Renesas Electronics Corporation. All rights reserved. Page 23 RZ/A1 Development Kits Board Name Renesas Starter Kit (RZ-RSK+) – RZ/A1H YR0K77210S011BE – with LCD Panel YR0K77210S009BE – without LCD Panel Stream it! YSTREAM-IT-RZ-V2 GR-PEACH mBED Board – RZ/A1H YGRPEACHFULL - Ethernet YGRPEACHNORMAL – with connector for WiFi module Most broadly supported KIT Mbed development environment. Works with Adruino Shields FreeRTOS based Kit with Camera Streaming and Display
  • 24. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 24 RZ/A1 Software Development Kit https://www.renesas.com/en-us/products/software-tools/software-os- middleware-driver/software-package/rza1-software-development-kit.html CMSIS-RTOS RTX Kit FreeRTOS Kit with TES Guiliani HMI https://www.renesas.com/en-us/products/software-tools/software-os-middleware-driver/software-package/rza1- software-development-kit-free-rtos.html “RZ/A Software Package is an HMI software development kit for the RZ/A1 that provides consistent support for camera input, LCD output, and image adjustment. It consists of device drivers, middleware, and sample programs for the RZ/A1 in a single package.” 1 2
  • 25. © 2017 Renesas Electronics Corporation. All rights reserved. Page 25 GR-PEACH ARM mBed Board for IoT GR PEACH REA Ordering PN: YGRPEACHFULL First (and only) Cortex A class MPU ARM mBED Board GR PEACH Audio Camera Shield REA Ordering PN: YGRPEACHAUDIOCAMERASHIELD GR PEACH LCD Shield REA Ordering PN: YGRPEACHLCDSHIELD •Arduino form-factor • Compatible with a wide range of commercially available shields • Built-in USB drag 'n' drop FLASH programmer •mbed.org Developer Website • Online Compiler • High level C/C++ SDK • Active developer community Available through normal Renesas Sales Channels https://developer.mbed.org/platforms/Renesas-GR-PEACH/ Lots of sample programs available
  • 26. © 2017 Renesas Electronics Corporation. All rights reserved. Quiz Page 26 ▪A família RZA1 conta com um Cortex-A9 @ 400MHz. O usuário pode se beneficiar deste poder de processamento utilizando um RTOS. Quais os três RTOS gratuitos que estão portados para este item?
  • 27. © 2017 Renesas Electronics Corporation. All rights reserved. Quiz Page 27 ▪A família RZA1 conta com um Cortex-A9 @ 400MHz. O usuário pode se beneficiar deste poder de processamento utilizando um RTOS. Quais os três RTOS gratuitos que estão portados para este item? Resp.: CMSIS-RTOS RTX, FreeRTOS e Mbed OS
  • 28. © 2017 Renesas Electronics Corporation. All rights reserved. Quiz Page 28 ▪A família RZA1 conta com um Cortex-A9 @ 400MHz. O usuário pode se beneficiar deste poder de processamento utilizando um RTOS. Quais os três RTOS gratuitos que estão portados para este item? Resp.: CMSIS-RTOS RTX, FreeRTOS e Mbed OS
  • 29. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 29 RZ/A1 Linux Support
  • 30. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 30 Execute-in-Place (XIP) Linux with Renesas RZ/A1 Timesys.com (URL) Renesas GitHub (URL) https://youtu.be/Rbsi8aTskxI The short 4 minute video covers a) What is XIP Linux b) How you can achieve Boot to Application under 3 seconds c) WiFi Gateway Demo on XIP Linux Sample Code at RenesasRulz (URL) (Community Forum) Linux 4.9 and 4.14 BSP now available for RZ/A1 http://www.elinux.org/RZ-A
  • 31. © 2017 Renesas Electronics Corporation. All rights reserved. Page 31 About XIP Linux on RZ/A1 MPU ➢XIP Linux is just regular Linux with kernel and file system components that reside in QSPI instead of being copied to RAM ➢Very small kernel SRAM footprint can be achieved ➢Just under 1.5MB SRAM to run (in a minimum implementation) ➢ Additional SRAM consumed for other drivers’ and applications’ r/w memory plus application’s graphics buffer/s ➢AXFS works in concert w/ XIP kernel to keep SRAM usage low ➢MMU used to map QSPI memory to application's virtual memory space without being copied to RAM first ➢Each file is broken into 4KB pages and each page can be run in XIP or RAM ➢ High granularity in how file memory can be allocated in physical memory
  • 32. © 2017 Renesas Electronics Corporation. All rights reserved. Page 32 Linux (Standard SDRAM Architecture) Block Diagram of RZ/A1 SDRAM Linux implementation RZ/A1 On-Chip RAM Flash SDRAM Kernel & FS Kernel & FS Executes from SDRAM
  • 33. © 2017 Renesas Electronics Corporation. All rights reserved. Page 33 RZ/A1 Linux (XIP from QSPI Architecture) QSPI Flash FS Application Data (r/w) RZ/A1 On-Chip RAM KernelKernel Code (r/o) Executes the kernel from QSPI. AXFS File System (FS) executes from QSPI. Portions copied to on-chip SRAM as needed. Enables XIP in all RZ/A1 devices. Kernel Data (r/w) Boot Loader (U-Boot) File SystemFS Application Code (r/o) 3MB (RZ/A1L) 5MB (RZ/A1M) 10MB (RZ/A1H)
  • 34. © 2017 Renesas Electronics Corporation. All rights reserved. Page 34 Very Fast Boot-Up with XIP Linux on RZ/A1 Sub-five-second Linux boot Software Code Payload Need Not Be Copied from Flash to External Memory Up to 30 seconds on competing devices using traditional DRAM execution vs. 3, 2, 1, BOOT……………..! LCD Output Screen Example below: Boot to a multiple application GUI launcher screen
  • 35. © 2017 Renesas Electronics Corporation. All rights reserved. Page 35 Support for Various Graphics Frameworks Crank Software Storyboard Suite ▪ Optimized for embedded systems ▪ Very responsive performance ▪ Superior GUI design environment DirectFB ▪ Direct frame buffer access ▪ Very efficient - does not require copying all graphics from QSPI to SRAM in order to run ▪ Very responsive performance with minimal SRAM footprint Qt ▪ Industry standard for large memory systems ▪ Can be used in XIP environment, as well
  • 36. © 2017 Renesas Electronics Corporation. All rights reserved. Page 36 Typical XIP Linux SRAM Usage (est.) Component SRAM (MB) est.* Comments Kernel 1.5 Minimum kernel includes: - MTU2 Timer (kernel time keeper). SCIF2 - 1 ch (serial console) - RIIC - 1 ch (keeps LEDs blinking). AXFS file system File System Apps 0.05 Per app to get it started USB 0.30 Need RAM size to read thumb drive (50KB code, 250KB buffer) Ethernet 0.20 WiFi 0.50 Silex - 400 KB, GP - 50 KB WiFi encryption 0.00 Supplicant - user-space app Gainspan gets rid of this 0.25 Audio 0.25 Sound system in Linux Qt 0.85 Estimation assumes 10x10 KB graphics widgets. Must also account for LCD buffer. Crank TBD n/a Direct FB 0.35 Estimation assumes 10x10 KB graphics widgets. Must also account for LCD buffer. No need to double buffer (don't have to hold everything in RAM - can use pointers to QSPI). *Estimates do not include LCD buffer space Preliminary Pending Further Benchmarking
  • 37. © 2017 Renesas Electronics Corporation. All rights reserved. RZ/A1 Linux – Example Demo
  • 38. © 2017 Renesas Electronics Corporation. All rights reserved. Page 38 XIP Linux DirectFB Graphics Demo Demo selector & animation apps ▪ Running from QSPI in XIP mode Graphics content ▪ Pulled from QSPI flash in real-time 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 CPU Utilization DirectFB Animation Video System resources used • Average CPU utilization = 12% • QSPI memory used = 8.2 MB • Max SRAM = 2.79 MB (fast animation) (kernel & app.) 2.72 MB (slow animation) • SRAM (frame buffers) = 1.5 MB • WVGA (800x480 @ 16 bpp) • Max SRAM (total) = 4.29 MB (fast animation) 4.22 MB (slow animation) • Drivers used • MTU2 Timer (kernel time keeper), UART (for serial communication), RIIC - 1 ch (keeps LEDs blinking), AXFS file system, LCD (VDC5), Touchscreen (I2C)
  • 39. © 2017 Renesas Electronics Corporation. All rights reserved. Page 39 DirectFB “Sonic” Demo Memory Layout Demo would run in RZ/A1M with 0.7 MB of SRAM headroom QSPI Flash FS Application Data (r/w) RZ/A1 On-Chip RAM Kernel (4.0 MB) XIP kernel AXFS File System • DirectFB (0.5 MB) • RootFS (1.5 MB) • Graphic Images (2.2 MB) o Background (1.5MB) o Sonic sprites (0.7 MB) o Buttons (0.05 MB) Kernel Data (r/w) Boot Loader (U-Boot) File System (4.2 MB)5MB (RZ/A1M) 2.79 MB 1.5 MB Frame Buffers 4.29 MB 0.71 MB
  • 40. © 2017 Renesas Electronics Corporation. All rights reserved. Page 40 H.264 Running in XIP Linux  Consilient H.264 demo (Software IP) ● XIP kernel, standard FS ● Adds less than 1 MB of SRAM overhead to QVGA system Resolution Frame Rate (Linux) SRAM Overhead* H.264 Encode QVGA (320 @ 240) 30 fps 0.8 MB VGA (640 x 480) 7 fps 2.5 MB H.264 Decode QVGA (320 @ 240) 90 fps 0.8 MB VGA (640 x 480) 35 fps 2.5 MB SDCard Decoder Encoder *SRAM overhead includes o H.264 algorithm state memory o H.264 algorithm program o 2 Frame capture buffers (YUV 420) for encoder o 2 Frame display buffers (YUV 420) for decoder
  • 41. © 2017 Renesas Electronics Corporation. All rights reserved. Page 41 BSP Build Environment Page 41 Features ▪ A single build script (build.sh) is used to perform all operations (configure, build, download, etc...) ▪ u-boot and kernel source are hosted individually on github.com (automatically downloaded by build script) ▪ Includes Sample applications ▪ Includes testing documentation (doc/testing/*). ▪ Sample Device Trees Examples (arch/arm/boot/dts/r7s72100-rskrza1_testing.dts) ▪ List of Renesas BSP drivers (doc/kernel_drivers.txt) ▪ Contains a ‘update’ command to pull in repository updates ▪ Buildroot Long Term Support (LTS) updates are maintained (for 1 year) ▪ Contains a tool to make creating your own custom board BSP easier ▪ Uses Segger J-Link to download images to boards Board Selection Screen
  • 42. © 2017 Renesas Electronics Corporation. All rights reserved. Page 42 Online Resources Page 42 Application Notes, Pre-Built Binaries (RSK, Stream it), BSP Porting Guides, Demos, Forum ▪ https://renesasrulz.com/rz/m/files_linux ▪ https://renesasrulz.com/rz/f/rz---forum Build Instructions and Required Board Modifications ▪ https://elinux.org/RZ-A ▪ Supported boards: RSK, Stream it, Genmai, GR-PEACH, YLCDRZA1H Github Repositories ▪ https://github.com/renesas-rz
  • 43. © 2017 Renesas Electronics Corporation. All rights reserved. Page 43 RZ/A1 Linux BSP Page 43 Linux 4.9 ▪ Linux-4.9.x kernel + LTSI + longterm stable updates ▪ u-boot-2017.05 ▪ Buildroot-2016.08, Buildroot-2017.02.x (LTS) ▪ PREEMPT_RT branch ▪ https://github.com/renesas-rz/rza_linux-4.9_bsp Linux 4.14 ▪ Linux-4.14.x kernel + longterm stable updates ▪ u-boot-2017.05 ▪ Buildroot-2017.02.x (LTS) ▪ https://github.com/renesas-rz/rza_linux-4.14_bsp
  • 44. © 2017 Renesas Electronics Corporation. All rights reserved. Page 44 RZ/A1 Linux BSP Page 44 Linux 3.14 (EOL) ▪ Linux 3.14.79 (final) ▪ u-boot-2015.01 ▪ Buildroot-2014.05, Buildroot-2016.08 ▪ No more BSP releases (EOL by kernel community) ▪ Github repositories will only be updated with bug fixes
  • 45. © 2017 Renesas Electronics Corporation. All rights reserved. Page 45 System Configuration Diagram Bootloader u-boot SCUX, SSI, SPDIF, SDG, CDROMDEC Audio VDC5, JCU, CEU, R-GPVG, DVDEC, IMR, DISCOM, PFV Graphics MTU2, OSTM, RTC, WDT, MotorPWM Timers USB(HOST/FUNC), SD/SDIO/MMC, SCI/SCIF, ETHER, SPI, I2C, CAN, LIN, EtherAVB, MOST Connectivity On-chip RAM, BSC, SPIBSC, NAND Memory DMAC, ADC, CPG (LPM) System System calls Process management Timer management Interrupt management Architecture dependent Memory management Memory manager Device drivers Block type Character type Network type Linux Kernel File system Device management Protocol stack Subsystems Userland User application Buildroot Libraries (system library, user library) System commands, system server RZ/A1 hardware IP White text: Supported Light blue text: Unsupported External hardware Linux kernel Overview of RZ/A1 XIP Linux
  • 46. © 2017 Renesas Electronics Corporation. All rights reserved. General Diagram Page 46 Support  Application notes  Demo programs  Q&A (community-based) Internet Host environment for development  Ubuntu 14.04 Target board  RSK+ for RZ/A1H Development tool  J-LINK Lite (flash programming tool) (JTAG debugging tool) Source code Linux Kernel U-Boot Buildroot RZ/A1 XIP Linux BSP Patch files, build scripts, etc. GCC ToolChain Linaro ToolChain GCC/binutils/uclibc, etc. Binary programs User applications Lineo Solutions, Inc. provides consulting, customizing, and support services for RZ/A1 Linux (fee-based). eLinux Overview of RZ/A1 XIP Linux
  • 47. © 2017 Renesas Electronics Corporation. All rights reserved. Page 47 Supplementary Explanation  Why are there multiple versions, 3.14, 4.9, 4.14, and so on? Which version should I use? ✓ Each version of the Linux kernel has its own maintenance period, 1) and it is no longer maintained once that period elapses. The maintenance period of 3.14 has already expired, to migration to 4.9 is underway. We are also preparing a 4.14 version that will support the latest kernel requests. ✓ Compared with current support for 3.14, there are fewer drivers and application notes for 4.9 and 4.14. Renesas recommends 4.9, but in light of the above considerations you may wish to select 3.14.  Are RZ/A1L, RZ/A1LU, and RZ/A1LC MCUs supported? ✓ These MCUs are supported by 3.14, 4.9, and 4.14. Stream It! Ver. 2 is available as a migration example.  Should I use the release version from RenesasRulz or the latest version available on Github? ✓ The release version on RenesasRulz is a snapshot intended for demo and evaluation use. ✓ For prototyping and development, use the latest version from Github. 1) For details on Linux kernel categories and maintenance periods, refer to the link below. Note that the maintenance period of longterm releases of version 4.4 and after has been extended from two years to six years. https://www.kernel.org/category/releases.html Overview of RZ/A1 XIP Linux
  • 48. © 2017 Renesas Electronics Corporation. All rights reserved. Page 48 Support for Peripheral Functions (1) 1) Connect EEPROM, port expander, etc. 2) Connect to PMOD connector. (ST7735FB driver supplied with Linux can be used but is unsupported.) 3) MAX9856 is used as an external codec with the MAX9856 driver supplied with Linux. 4) FT5x06 is used as a touch panel with the FT5x06 driver supplied with Linux. ●: Supported. ×: Unsupported. Peripheral Function Driver Overview Linux-3.14 Linux-4.9 Linux-4.14 Linux Kernel Linux Kernel ● ● ● LinuxDriver QSPI flash MTD driver supplied with Linux is used. ×4 mode and dual-chip configuration support, R yes, W no. ● ● ● NOR flash MTD driver supplied with Linux is used. NOR flash R/W yes. ● ● ● Serial (SCI/SCIF) Conforms to Linux-standard driver interface. 300 to 115,200 bps support (300 and 600 bps not usable with RSK). ● ● ● I2C Conforms to Linux-standard driver interface. 100 and 400 kbps support. 10-bit addresses not supported. (1 ● ● ● SPI (RSPI) Conforms to Linux-standard driver interface. (2 ● ● ● Ethernet Conforms to Linux-standard driver interface. 10/100 Mbps, half-duplex/full-duplex support. ● ● ● USB host Conforms to Linux-standard driver interface. HID devices and mass storage class support. ● ● ● USB function Conforms to Linux-standard driver interface. CDC Ethernet gadget support. ● ● ● SDHC/SDIO Conforms to Linux-standard driver interface. Plug/unplug detection support. ● ● ● MMC Conforms to Linux-standard driver interface. ● ● ● Audio (SSIF/SCUX) Conforms to Linux-standard driver interface (ALSA). Play/record/sampling rate conversion support. (3 ● ● ● Display (VDC5/LVDS) Conforms to Linux-standard driver interface (LinuxFB). (Support for display function only.) (4 ● ● ● DMAC Conforms to Linux-standard driver interface (DMAEngine). SDHC/SDIO, MMC, and audio driver support. ● ● ● RTC Conforms to Linux-standard driver interface. ● ● ● L2CC PL310 driver supplied with Linux is used. ● ● ● Functions and Features of RZ/A1 XIP Linux
  • 49. © 2017 Renesas Electronics Corporation. All rights reserved. Page 49 Support for Peripheral Functions (2) ● …対応済み × …未対応 Peripheral Function Driver Overview Linux-3.14 Linux-4.9 Linux-4.14 LinuxDriver PWM (MTU2) Sample driver. Outputs square waves with specified period and duty ratio on MTU2 channel 3. (5 ● X X CAN Sample driver. Conforms to Linux-standard driver interface. Supports can-utils package. (5 ● ● ● GPIO Sample driver. Conforms to Linux-standard driver interface (GPIO). Port I/O support; interrupts not supported. ● ● ● ADC Sample driver. Conforms to Linux-standard driver interface (IIO). ● ● ● Peripheral Function Sample Program Overview Linux-3.14 Linux-4.9 Linux-4.14 UserApp Sample CEU (Camera) Sample program. Conforms to Linux-standard driver interface (V4L2). OV7670 camera support. (5 ● X X JCU Sample program. JPEG decoding support using dedicated library (librzjpeg). Uses UIO. ● X X Peripheral Function Driver Overview Linux-3.14 Linux-4.9 Linux-4.14 Boot Loader Boot loader ● ● ● LinuxDriver Serial (SCI/SCIF) Uses driver supplied with U-Boot. Fixed at 115,200 bps. ● ● ● Ethernet Uses driver interface supplied with U-Boot. 10/100 Mbps, half-duplex/full-duplex support. ● ● ● I2C Uses driver interface supplied with U-Boot. 100 and 400 kbps support. (6 ● ● ● USB host Uses driver interface supplied with U-Boot. Mass storage class support. ● ● ● NOR flash Uses driver supplied with U-Boot. Read/write/erase support. ● ● ● QSPI flash Uses driver interface supplied with U-Boot. Read/write/erase support; ×1/×4 mode, dual-chip support. ● ● ● 6) Connection to EEPROM, port expander, etc. 5) To run this program on an RSK board, modification of the board or a special interface is necessary. Functions and Features of RZ/A1 XIP Linux
  • 50. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 50 RZ/A1 Applications Support
  • 51. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 51 GUI/HMI (HUMAN MACHINE INTERFACE) Internal SRAM for frame buffers, layering of graphics / images / text, 2D graphics engine (OpenVG, RGA) Example HMI Tools supported – • TES Guiliani on FreeRTOS • GUIX on ThreadX • Crank Software on XIP Linux • Crank Software (using 2D Engine) on FreeRTOS Ongoing Promotions – • TES Guiliani pre-paid License Misc. Demos – • TES Guiliani on Stream it! ver 2.0 and RZ-RSK+ • GUIX on RZ-RSK+ and High Resolution Embedded GUI Kit • Crank Software with 2D Gfx on RZ-RSK+ http://www.cranksoftware.com/demo_i mage/rza1h https://www.youtube.com/watch?v= msiNnzLVxMM https://www.youtube.com/watch?v=Zqk06wKB8Gs
  • 52. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 52 CAMERAS SUPPORT FOR SCANNERS, GENERAL PURPOSE VIDEO, AND EMBEDDED VISION Strengths • Single/ Dual Camera Support • Cortex A9 Core for Image Processing Tools • Okao (Omron) Software running on their own eval board Demos • Backup Camera on RZ-RSK • Streaming video on Stream it! kit • Face Detection, Age/Gender Identification on Omron evaluation module Omron HVC-P2 camera module with RZ/A Evaluation of Okao software solution https://www.youtube.com/wa tch?v=CCGNSfqHv1Q
  • 53. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 53 JCU (JPEG Codec Unit) IP Codec support • Motion JPEG support in hardware Demos • Embedded Video Playback • Software H.264 (Consilient Tech.) Module Resolution FPS RAM H.264 Encode QVGA 40 1.3 MB VGA 10 3.7 MB H.264 Decode QVGA 90 1.1 MB VGA 35 2.5 MB VIDEO PROCESSING
  • 54. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 54 Features ▪ ARM Cortex-A9 superscalar architecture with up to 10 MB on-chip RAM with 128b wide x4 memory bus ▪ XIP from QSPI memory ▪ RTOS, bare metal and Linux Support ▪ Drive up to 2 independent LCD controllers ▪ Up to 2 independent camera inputs Benefits ▪ Eliminate DDR DRAM entirely ▪ Performance of an MPU with the platform simplicity of an MCU style design ▪ Lower BOM cost ▪ Accelerate time-to-market RZ/A MPUs – SUMMARY SLIDE
  • 55. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 55 Grande Prêmio
  • 56. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 56 Quiz ▪O Linux XIP possibilita o uso do Linux num sistema equipado com apenas 3MB RAM. Na implementação do Linux XIP do RZA1, quanto de RAM é alocado para o Linux Kernel?
  • 57. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 57 Quiz Page 57 Resp.: 1.5M ▪O Linux XIP possibilita o uso do Linux num sistema equipado com apenas 3MB RAM. Na implementação do Linux XIP do RZA1, quanto de RAM é alocado para o Linux Kernel?
  • 58. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 58 Quiz Page 58 Resp.: 1.5M ▪O Linux XIP possibilita o uso do Linux num sistema equipado com apenas 3MB RAM. Na implementação do Linux XIP do RZA1, quanto de RAM é alocado para o Linux Kernel?
  • 59. © 2017 Renesas Electronics Corporation. All rights reserved. BIG IDEAS FOR EVERY SPACEPage 59 Thank You!