GithubHelp home page GithubHelp logo

udooboard / uboot-imx Goto Github PK

View Code? Open in Web Editor NEW
18.0 22.0 20.0 83.54 MB

Das U-Boot for UDOO

Makefile 0.71% Shell 0.18% C 88.59% Assembly 2.44% C++ 5.96% Objective-C 0.61% GDB 0.01% Tcl 0.01% Python 0.88% Perl 0.57% Lex 0.01% Yacc 0.03% Awk 0.01% sed 0.01%

uboot-imx's Introduction

UDOO U-Boot

UDOO Neo

To build the U-Boot for UDOO Neo, use the 2015.04.imx branch. This branch is based on Freescale's U-Boot (uboot-imx) version 2015.04.

The build can be started with:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make udoo_neo_defconfig
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make

The produced files, SPL and u-boot.img, can be used to boot all Neo variants (basic, basic kickstarter, extended, full).

UDOO Quad/Dual

To build the U-Boot for UDOO Quad/Dual, use the 2015.10.fslc-qdl branch. This branch is based on Freescale's U-Boot (uboot-imx) version 2015.10.

The build can be started with:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make udoo_qd_config
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make

The produced files, SPL and u-boot.img, can be used to boot both Quad and Dual boards.

B08 board

To build the U-Boot for Seco B08, use the 2015.04.imx branch. This branch is based on Freescale's U-Boot (uboot-imx) version 2015.04.

The build can be started with:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- ./compile_b08.sh

The produced files: SPL, u-boot.imx and u-boot.spi can be used to boot from uSD ard and SPI flash. To write SPI flash format the memory (flash_erase) and after execute:

 dd if=u-boot.spi of=/dev/mtd0 bs=1k seek=1 

SD card flashing

Flash your /dev/mmcblk0 SD card with:

dd if=SPL of=/dev/mmcblk0 bs=1K seek=1
dd if=u-boot.img of=/dev/mmcblk0 bs=1K seek=69

uboot-imx's People

Contributors

wdenx avatar sjg20 avatar stroese avatar trini avatar masahir0y avatar vapier avatar kumargala avatar hsdenx avatar plagnioj avatar sbabic avatar nvswarren avatar marex avatar jwrdegoede avatar vdsao avatar jhershbe avatar michalsimek avatar albert-aribaud-u-boot avatar kimphill avatar bthebaudeau avatar calris avatar jhofstee avatar iwamatsu avatar nikita-kiryanov avatar minkyukang avatar otavio avatar danielschwierzeck avatar lbmeng avatar bobenstein avatar tkisky avatar abrodkin avatar

Stargazers

 avatar nieebel avatar tony eve avatar Robert Henryk Zawiasa avatar  avatar Daniele Monteleone avatar Juri Grabowski avatar Fatih Mehmet UCAR avatar Yücel Gemici avatar  avatar  avatar  avatar Jimmy Yen avatar Pedro Ferreira avatar Francesco Montefoschi avatar Patryk avatar Ettore Chimenti avatar Christian Ege avatar

Watchers

Adrian Alonso avatar Stefano Viola avatar Steven Bytnar avatar Francesco Montefoschi avatar James Cloos avatar Peter avatar Patryk avatar Juri Grabowski avatar Pedro Ferreira avatar Jimmy Yen avatar Natalia Kovalenko avatar UDOOboard avatar Ettore Chimenti avatar Christian Ege avatar Igor avatar  avatar  avatar  avatar  avatar  avatar  avatar Teo Hall avatar

uboot-imx's Issues

there is a build error

include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(GNUC)

Patching LVDS for Arch Linux ARM

I've been planning on patching the LVDS functionality into Arch Linux ARM with the udoo quad (so I can use the 15" non-touch Innolux panel) and have a few noob questions. I've looked here at your source uboot and there doesn't appear to be anything regarding LVDS for the quad...

Also, will I need to patch the kernel as well or only the uboot?

PLAIN_VERSION undeclared

Hi,

Building u-boot following the provide guidelines:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make udoo_neo_config
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make

I get the following error:
tools/mkenvimage.c: In function ‘main’:
tools/mkenvimage.c:120:35: error: ‘PLAIN_VERSION’ undeclared (first use in this function)
printf("%s version %s\n", prg, PLAIN_VERSION);

I can't figure out from where it come neither how to fix it.

Is anybody able to help here ?

Regards,
Jeremy.

OpenWrt support

Hello guys,

I'm trying to add OpenWrt support for UDOO Neo but I'm having some issues, and it would be great if I could get some help from anyone :).

First of all I need to be able to build a functional uboot from OpenWrt environment.
In order to do so, I used the patches available in the "2015.04+fsl_NEO" branch of this repo:
openwrt-es/openwrt@1aec79e
https://github.com/openwrt-es/openwrt/tree/imx6-udoo-neo/package/boot/uboot-imx6/patches
As you can see, patches 120-131 are the ones extracted from this repository, and patches 140/141 are hacks done to make it compile, since it would complain about undefined FSL_QSPI_FLASH_SIZE/FSL_QSPI_FLASH_NUM (patch 140) and about not having a defconfig for the basic version (141).

BTW, the kernel support part is also done, but I can't check if it needs any fixes until I get a working bootloader: openwrt-es/openwrt@ce5b518

P.S: Github repo & branch: https://github.com/openwrt-es/openwrt/commits/imx6-udoo-neo

U-Boot SPL

I am wondering if anyone thinks to support U-Boot SPL (Secondary Program Loader)? It would simplify using Udoo dual and quad with only one bootloader (same image for both devices).

Seems no interest that's why I will try to make it. Based on wandboard spl with the help of Fabio Estevam.

Kernel reset

Hi all,

I am facing an issue with this U-boot version, the Linux kernel seems to be loaded just fine but at the middle of loading all the modules the board resets and U-boot starts again. I suspect of the watchdog but I am not really sure (I'm a beginner).

To compile I do the following:
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make udoo_qd_defconfig
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make

When I compile I get the following warnings:
board/udoo/udoo_qd/udoo.c:180:13: warning: ‘setup_iomux_wdog’ defined but not used [-Wunused-function]
static void setup_iomux_wdog(void)

board/udoo/udoo_qd/udoo.c:180:13: warning: ‘setup_iomux_wdog’ defined but not used [-Wunused-function]
static void setup_iomux_wdog(void)

Using the image that is on the web it boots without issue and I think the only difference is that this version of U-boot is 2015.04 and the one in the image is U-boot 2015.10.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.