Suzie Linux for ARM boards

News 8 Kalamazoo
Michigan weather
Radio Canada
98.5 FM Montréal
News for the Nerds
Weather Channel
Language translation
Vieux site humoristique des tatas
Donations are needed to help continuing work on Suzie Linux.
It can be a dollar, two dollars or more, whatever you can afford.

Odroid and Allwinner boards

Suzie Linux is the name I use for my linux images, sort of a SPIN as Red Hat puts it.

For the odroid I have mostly Gentoo images, I do have one image of OpenSuse Tumbleweed.

These images are a few months old but should be easy to update.

For Odroid and Olimex boards images go to  the Suzie Linux website on Sourceforge

Beagleboard X15, Beaglebone Black and Beaglebone Green boards

Funtoo and Gentoo stage 3

You can download the Beagleboard X15 funtoo stage 3 here : Funtoo Beableboard X15 stage 3

You can download the Beagleboard X15 gentoo stage 3 here : Gentoo Beableboard X15 stage 3

The official gentoo stage 3 dates 2016 and uses an obsolete gcc 4.9.0 which is no longer supported by gentoo.
The gentoo stage 3 has gcc 6.4.0 and the funtoo stage has gcc 7.3.0
The update of gentoo takes long time, funtoo didn't take as long. Funtoo tends to use newer files, not the case with gentoo.
My stage 3 only support the first RevA of beagleboard X15 and RevC. Since I only have RevA2 and RevC here I didn't bother supporting other versions in my yocto build.
I will add support for RevB1 on my next update.
For the Gentoo stage 3 I have kernel 4.9 and for the Funtoo stage 3 I have kernel 4.14. The reason being that Texas Instruments broke the eMMC support for the Beagleboard X15. I have not checked yet to see if the same problem exists with the beaglebone boards.
I have fixed the issue by changing the kernel driver to impose a voltage of 3.3V for the eMMC. It seems to be able to identify the fact that the RevC doesn't support 1.8V but fails to do so for the RevA2. It means that it doesn't recognize the eMMC partition without my patch. I have not checked u-boot for that since I boot of the Micro SD, I didn't want to replace the Debian that resides on the eMMC.
With the gentoo image I was not able to boot on the fast 64GB samsung or sandisk as well as the fast 32GB sandisk micro SD.
I saw no issue on the micro SD with version 4.14 even before the patches, just the eMMC.

If you wish to use either one of those with a different processor just remove the kernel and ti firmware and add the kernel, device tree and firmware for that processor. For odroid the easy way is to program a ubuntu image and then replace the rootfs with the one from my stage 3 file. You then need to replace the kernel with the one from the odroid ubuntu

To install the stage 3 you need to create a fat32 partition of around 90M and an ext4 partition with the rest. You first decompress the rootfs on the ext4 partition and then copy u-boot.img and MLO from the rootfs boot directory to the fat32 partition. Don't forget the set the fat32 partition as bootable otherwise it may not boot or boot of the eMMC. Both are compressed with tar, funtoo as tgz (tar.gz) and gentoo as tar.bz2
If you wish to have a swap partition you should use a USB device and mount it only when you need it. Using a swap partition of your eMMC or micro SD is not a good idea as it may reduce it's life.
I plan to create a rootfs that would boot of the esata port. I will publish it here when I have a working one.

Once you created the partitions and copied the files you are ready to boot it. Put the micro SD into the slot, plug the power adapter and push on the blue button. When you boot you can login as root, there is no user and no root password set. You can use an hdmi monitor or ssh. The dhcpcd service is enabled, you need to check with your router or login on the display with a usb keyboard and type ifconfig to find out the IP given to the board
You can add a password once you got the rootfs set to your liking. The default locale is fr_CA so if your language is not French you may want to change the content of the file 02locale on /etc/env.d and once you made the changes run "env-update && source /etc/profile".
The keyboard default is cf, to change it to something else edit the file keymaps on /etc/conf.d
Don't forget to set the date, ntpd is not installed. You can set the date this way "date -s "2018-0528 18:46:00"
localtime is set to Detroit time zone so if it is not your time zone you need to change that as well.

Linux Funtoo and Slackware

For now I only have images for the Beagleboard X15, I will eventually have some for the Beaglebone Black and Beaglebone Green.

I have no plan to support either ubuntu or debian as there is already someone doing this. Check the eewiki for that.

I have created Funtoo, Slackware, Fedora 25, OpenSuse and ArchLinux for the Beagleboard X15.

The installation process consists of copying u-boot and a rootfs on a micro SD card from which to boot into Linux. You need to download u-boot and the linux rootfs. Take note that u-boot and the kernel must be matched. I have a different u-boot and kernel for Funtoo and Slackware. The newer u-boot should work too with funtoo but I haven't tested it so I am providing both.

For Funtoo : u-boot Funtoo Linux rootfs

For Slackware : u-boot Slackware Linux rootfs

At this time I only have Funtoo and Slackware images available. Funtoo has graphic interface but not slackware.

You can easily customize this Slackware with the slackware package manager. Make sure that you do not allow the regular slackware kernel to be installed, this will brick your device. If you want to change the kernel use the official SDK from Texas Instruments.

I did not create a user so you can only login as root, the password is suzie.

If you want mate desktop you will need to compile it because the slackware group do not have arm binaries for it.

I do not have any plan to do much more on Slackware, I created one slackware version to be helpful for those who like Slackware but do not know how to create one for the Beagleboard X15.

Micro SD Card Creation

These instructions are only valid for a Linux computer. If you run windows you will need to install linux with virtualbox or ask a friend who has a Linux computer.

You need to do this as root or as a user with the sudo command to give you root access. root permissions are needed to copy u-boot and the rootfs to the micro SD card. You can easily wipe out your system if you use the device identification of your hard disk instead of that of the micro SD card, so beware and do not blame anybody else if you wipe out your operating system.

Replace sdX in the following instructions with the device name for the micro SD card as it appears on your computer. Unmount the micro SD card that will be used.

  1. Zero the beginning of the micro SD card:
    dd if=/dev/zero of=/dev/sdX bs=1M count=8  
  2. Start fdisk to partition the micro SD card:
    fdisk /dev/sdX
  3. At the fdisk prompt, delete old partitions and create a new one:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Now type n, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then press ENTER to accept the default last sector.
    4. Write the partition table and exit by typing w.
  4. Create the ext4 filesystem:
    1. For e2fsprogs < 1.43:
      mkfs.ext4 -L rootfs /dev/sdX1
      I found out that on Centos 7, since the last update this no longer works even though they are still at version 1.42. I didn't see anyway to disable the 64 bit flag. Perhaps the solution would be to upgrade to 1.43

    2. For e2fsprogs >= 1.43:
      mkfs.ext4 -L rootfs -O ^metadata_csum,^64bit /dev/sdX1
  5. Mount the filesystem:
    mkdir mnt 
    mount /dev/sdX1 mnt
    For Funtoo :
    tar xvfpJ ­Funtoo-BeagleboardX15-Kernel-4.4.19-20170107.tar.xz -C mnt
    For Slackware : tar xvfpJ slackware-BeagleboardX15-20170207­.tar.xz -C mnt
    umount mnt

  6. Install U-Boot:
    dd if=MLO of=/dev/sdX count=1 seek=1 bs=128k
    dd if=u-boot.img of=/dev/sdX count=2 seek=1 bs=384k

  7. Insert the micro SD card into the Beagleboard X15, connect ethernet, apply 5V power and push on the blue button.
  8. Use the serial console or ssh to the IP address given to the board by your router.
    • Login as the default user suzie with the password suzie
    • The default root password is also suzie

     Don't forget to create a more secure password.

     To run the gui type startx

This page has been hit   times.

Copyright 2015-2018 Michel Catudal