1# Juno Development Platform Support in meta-arm-bsp 2 3## Howto Build and Run 4 5### Configuration: 6In the local.conf file, MACHINE should be set as follow: 7MACHINE ?= "juno" 8 9Juno is using a USB hard drive for root filesystem by default. The distribution 10used must have ```usbhost``` and ```usbgadget``` in DISTRO_FEATURES (this is 11the case in poky distribution). 12 13### Build: 14```bash$ bitbake core-image-minimal``` 15 16### Update Juno SD card: 17 18The SD card content is generated during the build here: 19tmp/deploy/images/juno/firmware-image-juno.tar.gz 20 21Its content must be written on the Juno firmware SD card. 22To do this: 23- insert the sdcard of the Juno in an SD card reader and mount it: 24```bash$ sudo mount /dev/sdx1 /mnt``` 25(replace sdx by the device of the SD card) 26 27- erase its content and put the new one: 28```bash$ sudo rm -rf /mnt/*``` 29```bash$ sudo tar --no-same-owner -xzf tmp/deploy/images/juno/firmware-image-juno.tar.gz -C /mnt/``` 30```bash$ sudo umount /mnt``` 31 32- reinsert the SD card in the Juno board 33 34### Create an USB hard drive: 35 36Linux root file system should be stored on the second partition of an USB 37drive that must be plugged on the Juno Platform. 38 39This partition should be initialized with the content of the filesystem 40generated by yocto that you can find here: 41tmp/deploy/images/juno/core-image-minimal-juno.tar.bz2 42 43To do this 44- Format a USB disk, create two primary partitions (ext4). 45- mount the secondary partition 46- untar tmp/deploy/images/juno/core-image-minimal-juno.tar.bz2 on to the 47 secondary partition. 48 49### Run: 50You must insert the SD card and the USB drive and power-on the Juno board. 51The console should be available on the second serial line: 52screen -L /dev/tty.usbserial 115200 53 54On the first boot the images will be flashed which can take some time. 55 56## Devices supported in the kernel 57- serial 58- usb 59- network 60- watchdog 61- rtc 62- mmc 63 64### Untested: 65- i2c 66- dma 67- pci 68- sata 69- sound 70 71## Devices not supported or not functional 72- framebuffer: not functional 73 The HDMI is not properly detected. 74- GPU (no user land libraries). 75 The mali-midgard-kernel can be used to have a kernel driver 76