Raspberry Pi

From Tizen Wiki
Jump to: navigation, search

RPI is a famous cheap SBC based on ARM CPU.

Tizen 4.0 Quick guide for the Raspberry PI 3

Build using GBS

TODO: document as described in this article about Renesas ARM port :

Howto :

  • Grab image at .. TODO
  • rebuild kernel using gbs from TODO
  • install to /boot partition
  • tune files for console etc TODO


Challenges :

Raspberry Pi Models

RPI 2 (ARMv7)

Tizen runs on Raspberry Pi 2 Model B.

Status : WIP

References :

RPI 1 (ARMv6)

Tizen-raspberrypi1a-20160107rzr.jpg

Status: WIP : Booting, Weston ok, EGL (problems)

Demo : https://vimeo.com/151030672#tizen-raspberrypi1a-20160107rzr

See Yocto chapter


Related resources :

Question was also mentioned several time in mailing list too

RPI 0 (ARMv6)

Status: Booting, Weston, GL (userland) ToDo: Looking for devices / testers

Check this community effort :

https://hackaday.io/project/9649-port-tizen-to-raspberrypizero

Details will be updated later here

RPI 3 (ARMv8)

more info here: 3.0 Porting Guide/Setup RPI3 for Tizen Instruction

It is booting w/ meta-raspberrypi master branch, I built an image from my "staging" branch, I need a RaspberryPi3 to test it.

Try :

  • tizen-common-core-image-minimal-raspberrypi3-20160730224057.rootfs.rpi-sdimg.qcow2
  • tizen-common-core-image-minimal-raspberrypi3-20160312183223.rootfs.rpi-sdimg.qcow2 (md5=569ac4b1d5008d476eb4b271ac036aa2)

From https://wiki.tizen.org/wiki/User:Pcoval/Files

Install with :

 lsblk # look how usb disk's device name check for size
 disk=/dev/sdZ # replace sdZ with real one (CAUTION)
 time qemu-img convert -p  -O raw  *.qcow2 $disk


To Build see RPI0 chapter but change to MACHINE=raspberrypi3

Related link

Debugging

Serial Connection

It is possible to debug Tizen ARM images on Raspberry Pi 2 Model B using 3.3V USB to serial cable, such as Olimex USB-Serial-Cable-F, connected to the UART of the board. Follow the instructions below to connect a cable to the board (do it on your own risk, no warranty is provided):

  • Edit cmdline.txt from the boot partition of the SD card and enabled serial debugging:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 init=/lib/systemd/systemd rw rootwait debug
  • Connect the BLUE wire if you are using Olimex USB-Serial-Cable-F to pin 6 of Raspberry Pi 2,
  • Connect the RX line of the cable (GREEN wire if you are using Olimex USB-Serial-Cable-F) to pin 8 (TX line) of Raspberry Pi 2,
  • Connect the TX line of the cable (RED wire if you are using Olimex USB-Serial-Cable-F) to pin 10 (RX line) of Raspberry Pi 2.
Olimex USB-Serial-Cable-F attached to Raspberry PI 2 for debugging through the serial console
  • Plug the USB connector of the cable to your computer and use your favorite tool for serial communication, for example on Ubuntu and other Linux distributions you may use screen:
    sudo screen /dev/ttyUSB0 115200

Pay attention that the colours of the cable may vary depending on the vendor. If you have USB console cable from Adafruit please have a look at: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/connect-the-lead


See also