Problem creating a bootable micro SD for Beagleboard X15 on Fedora 29
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2019
    Location
    White Pigeon Michigan
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem creating a bootable micro SD for Beagleboard X15 on Fedora 29

    I created a rootfs for my Beagleboard X15 boards with yocto using the TI arago yocto for SDK rev 5.02
    Not only it didn't boot, it looks like the rom code doesn't find u-boot.

    Here are the bash functions used :

    -----------------------------------------------------------------------------------------------------------
    create_image () {
    # Change to build directory
    cd $work_dir
    echo "using $loop_device"

    # Create the image
    dd if=/dev/zero of=$microSDimage iflag=fullblock bs=4M count=$size_of_image && sync

    sudo /sbin/losetup $loop_device $microSDimage
    # Create the partitions for the image
    sudo /usr/sbin/parted -s $loop_device mklabel msdos
    sudo /usr/sbin/parted -s $loop_device unit cyl mkpart primary fat32 -- 0 12
    sudo /usr/sbin/parted -s $loop_device set 1 boot on
    sudo /usr/sbin/parted -s $loop_device unit cyl mkpart primary ext4 -- 12 -1
    # Rescan so the partitions will be visible
    sudo /usr/sbin/partprobe $loop_device
    }

    create_directories () {
    # If the build directories do not exist, they will be created
    mkdir -p $work_dir
    mkdir -p $work_dir/boot
    mkdir -p $work_dir/rootfs
    }

    unmount_directories () {
    [[ $(findmnt -M $work_dir/boot) ]] && sudo umount $work_dir/boot
    [[ $(findmnt -M $work_dir/rootfs) ]] && sudo umount $work_dir/rootfs
    }

    format_partitions () {
    # Format the partitions
    sudo /usr/sbin/mkfs.vfat -F 32 -n "boot" -s 2 $boot_part
    sudo /sbin/mkfs.ext4 -L rootfs -O ^metadata_csum,^64bit $rootfs_part
    }

    mount_directories () {
    # Mount the boot partition so we can copy files to it
    sudo mount $boot_part $work_dir/boot
    # Mount the rootfs so we can copy files to it
    sudo mount $rootfs_part $work_dir/rootfs
    }

    ---------------------------------------------------------------------------

    At first I suspected that it might have formatted the ext4 for 64 bits as Redhat Enterprise does but the fact that it looked completely dead tells me that the AM5728 rom doesn't find MLO

    I then booted on Arch Linux and used the same script. It worked perfectly.

    I then compared the two micro SD, here is the information, the first one is the one created on Fedora 29



    Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
    /dev/sdh1 3020 1094 1926 37% /run/media/michel/boot
    /dev/sdh2 30706292 6283000 22844040 22% /run/media/michel/rootfs


    Disque /dev/sdh*: 29,8 GiB, 32010928128*octets, 62521344*secteurs
    Modèle de disque*: USB3.0 CRW -2
    Unités*: secteur de 1 × 512 = 512*octets
    Taille de secteur (logique / physique)*: 512*octets / 512*octets
    taille d'E/S (minimale / optimale)*: 512*octets / 512*octets
    Type d'étiquette de disque*: dos
    Identifiant de disque*: 0x028215c5

    Périphérique Amorçage Début Fin Secteurs Taille Id Type
    /dev/sdh1 * 1 6120 6120 3M c W95 FAT32 (LBA)
    /dev/sdh2 6121 62521343 62515223 29,8G 83 Linux


    Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
    /dev/sdh1 94476 1094 93382 2% /run/media/michel/boot
    /dev/sdh2 30614180 6282712 22756872 22% /run/media/michel/rootfs


    Disque /dev/sdh*: 29,8 GiB, 32010928128*octets, 62521344*secteurs
    Modèle de disque*: USB3.0 CRW -2
    Unités*: secteur de 1 × 512 = 512*octets
    Taille de secteur (logique / physique)*: 512*octets / 512*octets
    taille d'E/S (minimale / optimale)*: 512*octets / 512*octets
    Type d'étiquette de disque*: dos
    Identifiant de disque*: 0x5a92e9f1

    Périphérique Amorçage Début Fin Secteurs Taille Id Type
    /dev/sdh1 * 2048 192511 190464 93M c W95 FAT32 (LBA)
    /dev/sdh2 192512 62521343 62328832 29,7G 83 Linux

  2. #2
    Join Date
    Apr 2019
    Location
    India
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating a bootable micro SD for Beagleboard X15 on Fedora 29

    Hi buddy, did you try looping up the strings? I guess that might help solve the issue.


    Regards,
    Xicili Hox https://dltutuapp.com/tutuapp-download/ https://showbox.run/ https://kodi.software/
    Last edited by xicilihox; 16th April 2019 at 08:21 PM.

Similar Threads

  1. Fedora 12 - Creating Bootable CDs (DVDs)
    By jod1006 in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 29th April 2010, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •