BBB SDK6 Compilation process

Source: Internet
Author: User
Tags spl

1. Compiling the image for FTP boot

1) uboot

Make Arch=arm Cross_compile=arm-linux-gnueabihf-o=flash-restore AM335X_EVM_RESTORE_FLASH_USBSPL

The generated u-boot.img is copied to the FTP directory under the Flash-restore directory and renamed to U-boot-restore.img

The generated u-boot-spl.bin is copied to the FTP directory under the FLASH-RESTORE/SPL directory and renamed to U-boot-spl-restore.bin

2) Uimage

Make Cross_compile=arm-linux-gnueabihf-arch=arm Tisdk_am335x-evm_defconfig

Make Cross_compile=arm-linux-gnueabihf-arch=arm Menuconfig

Add Initramfs to the kernel and configure USB Rndis support

Make Cross_compile=arm-linux-gnueabihf-arch=arm Uimage

Generated uimage under Arch/arm/boot directory, copy uimage to FTP directory

2. Compiling the image for burn-write

1) uboot

Make Arch=arm Cross_compile=arm-linux-gnueabihf-o=emmc AM335X_EVM

The generated u-boot.img and MLO are in the eMMC directory

2) Uimage

Make Cross_compile=arm-linux-gnueabihf-arch=arm Tisdk_am335x-evm_defconfig

Make Cross_compile=arm-linux-gnueabihf-arch=arm Uimage

The generated uimage is in the Arch/arm/boot directory

3) making burning and writing files

Tar zcvf boot_partition.tar.gz MLO u-boot.img uimage

Copy boot_partition.tar.gz and rootfs_partition.tar.gz to FTP directory or SD for burning


Description

1) Compile u-boot Two configuration options AM335X_EVM_RESTORE_FLASH_USBSPL and AM335X_EVM can be found in boards.cfg of the U-boot root directory

2) Initramfs and rootfs_partition.tar.gz can be downloaded from TI website

3) USB Rndis configuration method can be found on the TI official website

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.