mboot is a bootloader located in micro SDcard for booting Linux on openFPGAdunino tabby board.
This program is developed by:
- Zhizhou Li [email protected]
Copyright (C) 2012 Meteroi
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
- The microSD card should be larger than 8GByte, and prepared by openFPGAdunino OS card partition tool.
- The prepared card has two partitions: boot (1GByte, MSDOS FAT), linux (from 7GByte to card size limit, Linux EXT4).
- Insert the SDcard to PC's card reader, and mount the "boot" partition (on Windows, only "boot" partition is recognized and automatically list in "My Computer").
- Copy the generated excutable binary "boot.bin" (File name is sensitive) to the "boot" partition.
- Also copy "boot.ini", "zImage" and "grid.rbf" (File names are all sensitive) to the "boot" partition.
- DD the OS filesystem to the "linux" partition.
- Put microSD card to the card holder on XEM, and we are done.
noinitrd mem=128M console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait
- Only for booting Linux on Lophilo's hardware platform.
- Running directly from micro SDcard, no need to program any special flash on hardware.
- Initially developed with Keil MDK, then the project was converted for developing with gcc.
- Final excutable binary size should be limited under 55kByte to fit into SAM9M10's IRAM.
- Some code is based on ATMEL's at91lib.