Skip to content

edwinlaiktc/uboot-2015

Repository files navigation

iMX6 Uboot 2015


This is the source code from [freescale imx 2015 branch].
Modified by Edwin, for customer LPDDR2 platform, built with iMX6 series controller.
With SD card ONLY, and output with Rs232, compatible with both LPDDR2 and LPDDR3.


The program is provided AS IS with NO WARRANTY OF ANY KIND,
INCLUDING THE WARRANTY OF DESIGN,
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Introductions

Release Note

  • Current Modified Version : v1.0.0
  • Modified Note : [Modified Note]

Uboot Compiler mapping table

Version Compiler ARCH Platform
imx-uboot-2015 GCC4.8, GCC5.4.0 arm Ubuntu16.04LTS

Build your own UBoot

Requirements

sudo apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev
sudo apt-get install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf

Complied uboot

To build uboot, just running script build_uboot.sh.

# default platform is set as mx6_ktc_defconfig
./build_uboot.sh <your_platform_defconfig>

Dump to SD Card

Also, running script dd_uboot.sh to dump uboot to specific address of SD card.
Default device name is "c", which fit to my usage, change it if needed.

# <X> will be device name of your sd card, ig. /dev/sdc => c
./dd_uboot.sh <X>

Directory Hierarchy

uboot-2015
├──arch			Architecture specific files
│   ├──arc		Files generic to ARC architecture
│   ├──arm		Files generic to ARM architecture
│   ├──m68k		Files generic to m68k architecture
│   ├──microblaze	Files generic to microblaze architecture
│   ├──mips		Files generic to MIPS architecture
│   ├──nds32		Files generic to NDS32 architecture
│   ├──nios2		Files generic to Altera NIOS2 architecture
│   ├──openrisc		Files generic to OpenRISC architecture
│   ├──powerpc		Files generic to PowerPC architecture
│   ├──riscv		Files generic to RISC-V architecture
│   ├──sandbox		Files generic to HW-independent "sandbox"
│   ├──sh		Files generic to SH architecture
│   └──x86		Files generic to x86 architecture
├── api			Machine/arch independent API for external apps
├── board		Board dependent files
├── cmd			U-Boot commands functions
├── common		Misc architecture independent functions
├── configs		Board default configuration files
├── disk		Code for disk drive partition handling
├── doc			Documentation (don't expect too much)
├── drivers		Commonly used device drivers
├── dts			Contains Makefile for building internal U-Boot fdt.
├── examples		Example code for standalone applications, etc.
├── fs			Filesystem code (cramfs, ext2, jffs2, etc.)
├── include		Header Files
├── lib			Library routines generic to all architectures
├── Licenses		Various license files
├── net			Networking code
├── post		Power On Self Test
├── scripts		Various build scripts and Makefiles
├── test		Various unit test files
└── tools		Tools to build S-Record or U-Boot images, etc.

License

Disclaimer: Everything you see here are free for studying and none-profit usage. Also make sure you comply with the license.

Copyright © 2018, Kingston Technology Corp.

Developed by : RD Module | Edwin Lai & Sam Cheng

About

iMX6 UBoot 2015 for LPDDR2 DRAM, also for LPDDR if needed.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published