forstep.blogg.se

Boot off sd card
Boot off sd card








boot off sd card

You should see the Android OS as shown in the Figure below. Starts the specified program completed after the start of the kernel is. Waiting for the file system before the boot process continues Mount parameters rw = Read / Write, RO = Read Only ENVĭescription / Drive the rootfs (eg / dev/sda1) The description of the bootargs parameters can be seen in this Table. MINI2440 # setenv bootargs root=/dev/mmcblk0p3 rootfstype=ext3 mini2440=1tb rootdelay=3 init=/linuxrc We also need to inform the u-boot where the rootfs location is and other configurations.

boot off sd card

This step will copy the kernel from the SD card partition 2 (mmcblk0p2) to the RAM address 0x31000000 and run the booting process from the RAM. Hit any key when you see the promption “ Hit any key to stop autoboot.” Now you shall see all u-boot informations on the minicom window. Move the switch to NAND position and reboot Micro2440. Transferring the u-boot from the RAM to the NAND The process of downloading the u-boot to the RAM is shown in Figure. On another shell window, use following command to download u-boot into the RAM of Micro2440. For larger image, you must go to a lower address space, such as 0x31000000. Few examples on the internet ask you to load images to the RAM location 0x32000000. Tell vivi that you need 242360 bytes space in the RAM to load something from the USB, starting at 0x31000000. Don’t select “Exit from Minicom”, otherwise you are out of minicom. Once it’s installed, we can invoke it from the shell prompt. If we don’t have the Minicom available in our Linux system, then we need to install it first. android/kernel> make ARCH=arm INSTALL_MOD_PATH=/media/rootfs modules_install If you jump directly to modules_install without compiling modules first, you will get an error saying modules.order cannot be found. Step 7 – Create Kernel Modules /android/kernel> make ARCH=arm INSTALL_MOD_PATH=/media/rootfs modules We need to do this first before installing the kernel modules to the filesystem. Then, copy the contents of fs directory to /media/rootfs. android/kernel/arch/arm/boot> cp uImage /media/boot/. The resulted uImage can be found in arch/arm/boot directory.

boot off sd card

Step 6 – Copy the Kernel uImage and Filesystem to the SD Card android/kernel> make ARCH=arm menuconfig Run the menuconfig, but don’t change anything. The name of boot and rootfs were given during the partition step. My SD card is mounted using the following names: Refer to How to Partition an SD Card for the steps. If you haven’t set up the ARM Toolchain, follow the guideline in this link.

boot off sd card

Steps below are a guideline for booting the Android OS on the Micro2440 SDK with 256M.










Boot off sd card