$ sudo apt-get install mtd-utils
$ sudo apt-get install genext2fs
$ cd < ANDROID_WORKING_DIR >Download
Generate_ubifs_image.tar.gz from the following
| Description | Resource URL |
| Generate UBIFS image | Generate_ubifs_image.tar.gz (~ 2 KB) |
$ tar zxvf Generate_ubifs_image.tar.gz $ cd Generate_ubifs_image $ ./ubifs.sh -b sam9m10You will see
system_ubifs-SAM9M10-ANDROID-2.3.5_r1.img and userdata_ubifs-SAM9M10-ANDROID-2.3.5_r1.img in the current directory.
ubifs.sh, execute it without parameters. It will print the usage information as following: $ ./ubifs.sh Usage message ./ubifs.sh -b board_chip -b Specify the board chip.We now support sam9x5 | sam9m10 | sam9g45. -h This message
SAM9G45 MCU, please use the following command $ ./ubifs.sh -b sam9g45
SAM9X5 MCU, please use the following command
$ ./ubifs.sh -b sam9x5If anything wrong. please check the
make_android_ubifs.log file.
$ cd < ANDROID_WORKING_DIR >Download
Generate_sdcard_image.tar.gz from the following
| Description | Resource URL |
| Generate SD Card Image | Generate_sdcard_image.tar.gz (~ 8 MB) |
/dev/sdb as an example. sdimage.sh, it needs root privilege.
$ tar zxvf Generate_sdcard_image.tar.gz $ cd Generate_sdcard_image $ sudo ./sdimage.sh -b sam9m10 -s /dev/sdbAnswer YES, if you make sure the sd card device node after the hints. After finishing this step, the SD card is OK for booting up the Android system.
sdimage.sh, execute it without parameters. It will print the usage information as following: Usage message ----------------------------- ./sdimage.sh -b board_chip -s /dev/sdxx [-u uImage_dir] [-d xxxM] -b Specify the board chip. We now support sam9g45, sam9m10, sam9x5 -s Specify the sdcard node. Like /dev/sdc. You should plugin in the sdcard first -u Specify the dir of the uImage if you want update kernel image. It is not a must -d Specify the userspace size on sd card.It is not a must,default is 200M -h This message
SAM9G45 MCU, please use the following command $ sudo ./sdimage.sh -b sam9g45 -s /dev/sdb
SAM9X5 MCU, please use the following command $ sudo ./sdimage.sh -b sam9x5 -s /dev/sdbIf anything wrong you can check the
make_android_sdcard.log file.
system_ubifs-SAM9M10-ANDROID-2.3.5_r1.img and userdata_ubifs-SAM9M10-ANDROID-2.3.5_r1.img file, you can system_ubifs-SAM9M10-ANDROID-2.3.5_r1.img file into NAND flash at offset 0x00500000, userdata_ubifs-SAM9M10-ANDROID-2.3.5_r1.img flash at offset 0x06400000
Copyright by the contributing authors. All material on the platform is the property of the contributing authors.
Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions
Atmel and others, are registered trademarks or trademarks of Atmel or its subsidiaries.![]()
ARM and others are registered trademarks or trademarks or ARM Ltd. Other terms and product names may be trademarks of others.
Under the terms of the Creative Commons Attribution License