Skip to content

SummitESP/fsl-community-bsp-platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FSL Community BSP - Summit Edition

To get the BSP you need to have repo installed and use it as:

Install the repo utility:

$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo

Download the BSP source:

$: PATH=${PATH}:~/bin
$: mkdir fsl-community-bsp
$: cd fsl-community-bsp
$: repo init -u https://github.com/SummitESP/fsl-community-bsp-platform.git -b morty
$: repo sync

At the end of the commands you have every metadata you need to start work with.

To start the image build:

$: SDKMACHINE=x86_64 MACHINE=tsimx6 DISTRO=fslc-framebuffer source ./setup-environment build
$: git clone git@github.com:SummitESP/fsl-community-bsp-platform.git -b morty
$: cp fsl-community-bsp-platform/*.conf conf/
$: bitbake fsl-image-multimedia-full meta-toolchain-qt5

The root file system that can be used to create an SD card will be created in:

/build/tmp/deploy/images/tsimx6/fsl-image-multimedia-full-tsimx6.tar.bz2

To create the SD card from the image, execute the following commands:

$: sudo mkfs.ext4 /dev/mmcblk0p1
$: mkdir /mnt/sd
$: sudo mount /dev/mmcblk0p1 /mnt/sd
$: sudo tar -xf fsl-image-multimedia-full-tsimx6.tar.bz2 -C /mnt/sd
$: sudo umount /mnt/sd/
$: sync

Once the SD card has been written, install it in the embeddedarm device, and connect a USB cable to P2 on the back of the unit. Then, connect to the provided USB serial via the following command, and power on the device:

$: sudo picocom -b 115200 /dev/ttyUSB0

When the boot sequence is complete, log in as root with no password. Using the nano text editor, create the network configuration in /etc/systemd/network/eth0.network:

$: nano /etc/systemd/network/eth0.network

Then, enter the following into that file:

[Match]
Name=eth0

[Network]
Address=192.168.1.30/24
Gateway=192.168.1.10
DNS=192.168.1.10

The installable SDK is found here:

/build/tmp/deploy/sdk/tsimx6/fslc-framebuffer-glibc-x86_64-meta-toolchain-qt5-armv7at2hf-neon-toolchain-2.2.1.sh

You can use any directory to host your build.

The source code is checked out at fsl-community-bsp/sources.

Contributing

To contribute to this layer you should send the patches for review to the mailing list.

When creating patches, please use something like:

$: git format-patch -s --subject-prefix='fsl-community-bsp-platform][PATCH' origin

When sending patches, please use something like:

$: git send-email --to meta-freescale@yoctoproject.org <generated patch>

Using Development and Testing Branches

Replace the repo init command above with one of the following:

master

For developers

$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master
master-next

For intrepid developers and testers

Patches are typically merged into master-next and then are merged into master after a testing and comment period. It’s possible that master-next has something you want or need. But it’s also possible that using master-next breaks something that was working before. Use with caution.

$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master-next

About

BSP platform manifest

Resources

Stars

Watchers

Forks

Packages

No packages published