Difference between revisions of "U-booting Funtoo on the TI AM335x X2 SBC-B2"
Jump to navigation
Jump to search
m |
|||
Line 16: | Line 16: | ||
{{console|body= | {{console|body= | ||
# ARCH=$ARCH CROSS_COMPILE=$CROSSDEV_TARGET- make | # ARCH=$ARCH CROSS_COMPILE=$CROSSDEV_TARGET- make | ||
# ARCH=$ARCH CROSS_COMPILE=$CROSSDEV_TARGET- uImage dtbs LOADADDR=0x82000000 | |||
# cp arch/arm/boot/uImage $XC_STAGE3S/boot/ | |||
# cp arch/arm/boot/zImage $XC_STAGE3S/boot/ | |||
# cp arch/arm/boot/dts/am335x-evm.dtb $XC_STAGE3S/boot/ | |||
}} | }} |
Revision as of 19:52, February 6, 2017
Introduction
Installing Funtoo to a Raspberry Pi is fun, but there are a lot more boards out there. For example, the AM335x series. To get this going, we need to use the U-Boot bootloader.
See http://funtoo.org/Crossdev_Automation for the xcompile_variables.sh script referenced here, and a more complete introduction to the process.
Kernel Building
Defconfig Generation
root # cd $XC_KERNEL_SRC root # ti_config_fragments/defconfig_builder.sh -t ti_sdk_am3x_release root # ARCH=$ARCH CROSS_COMPILE=$CROSSDEV_TARGET make ti_sdk_am3x_release_defconfig
root # ARCH=$ARCH CROSS_COMPILE=$CROSSDEV_TARGET- make root # ARCH=$ARCH CROSS_COMPILE=$CROSSDEV_TARGET- uImage dtbs LOADADDR=0x82000000 root # cp arch/arm/boot/uImage $XC_STAGE3S/boot/ root # cp arch/arm/boot/zImage $XC_STAGE3S/boot/ root # cp arch/arm/boot/dts/am335x-evm.dtb $XC_STAGE3S/boot/