gportay / at91nandflash

Minimalist NandFlash image builder for Atmel A91-boards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

at91nandflash

at91nandflash is a minimalist and ready-to-use build-system for AT91-boards. It builds from scratch a91bootstrap, a linux kernel and its tiny-appended initramfs that give you access to the DBGU port. Do not forget to provide your own cross-compiler. Prerequisites...

First, clone the repository...

$ git clone git@github.com:gazoo74/at91nandflash.git && cd at91nandflash

... init and update recursively project submodules:

$ git submodule update --init --recursive

Then fetch linux sources into the linux directory either by cloning one of the multiple git repository...

$ git clone git@github.com:torvalds/linux.git linux

... or by getting and unarchiving a kernel archive, pick up a version above 4.1:

$ wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz && tar xJf linux-4.1.tar.xz && ln -sf linux-4.1 linux

Finally, get a copy of SAM-BA and make it available into your PATH. ...Ready to go!

Your are now ready to build and flash your AT91-board using SAM-BA!

$ make && make sam-ba

Enjoy!


PS: Do no forget to run...

$ make help

... to check for what you can do with the Makefile!

About

Minimalist NandFlash image builder for Atmel A91-boards

License:MIT License


Languages

Language:Makefile 81.1%Language:Tcl 14.5%Language:Shell 4.4%