hi , i see your comment for rootfs. i did it already now , i want to copy my new gpio module as welll as .ko file to it , and again want to boot from sdcard , what will the procedure for it. Please reply asap
******************************************************************************************* On Monday, April 30, 2012 at 1:38:22 AM UTC-7, goldpeer wrote: > > you need to install customized kernel on rootfs not FAT > would you try to > > make -j8 ARCH=arm modules_install INSTALL_MOD_PATH=/dev/sdb2 % your > rootfs device > > ? > > > On 30 April 2012 02:42, asp5 <[email protected] <javascript:>> wrote: > >> >> Hi all, >> >> I recently got a Beagle-board xm pre-installed with Angstrom Linux. >> >> Here are the contents of the SD card: >> >> /media/Narcissus-rootfs$ ls >> bin dev home lost+found mmc narcissus-was-here sbin tmp usr >> boot etc lib media mnt proc sys usb1 var >> >> /media/boot$ ls >> MLO U-BOOT.BIN uEnv.txt UIMAGE >> >> >> I wanted to build a custom Linux Kernel. I got the kernel sources >> linux-3.2.2 >> >> did the following: >> >> make -j8 ARCH=arm uImage >> CHK kernel/config_data.h >> Kernel: arch/arm/boot/Image is ready >> Kernel: arch/arm/boot/zImage is ready >> Image arch/arm/boot/uImage is ready >> >> I removed the existing UIMAGE from the FAT partition of the SD CARD and >> copied the newly built uImage *(is that sufficient or do I have to >> format the card and then copy all the files ?)*. >> >> make -j8 ARCH=arm modules >> CALL scripts/checksyscalls.sh >> Building modules, stage 2. >> MODPOST 36 modules >> >> make -j8 ARCH=arm modules_install INSTALL_MOD_PATH=~/Desktop/emb_linux/ >> make_modules_install >> INSTALL sound/usb/snd-usb-audio.ko >> INSTALL sound/usb/snd-usbmidi-lib.ko >> DEPMOD 3.2.2_omap2_bg_train >> >> Here are the contents of the make_modules_install directory: >> $ ls lib/modules/3.2.2_omap2_bg_train/ >> build modules.builtin.bin modules.ieee1394map modules.pcimap >> modules.usbmap >> kernel modules.ccwmap modules.inputmap >> modules.seriomap >> source >> modules.alias modules.dep modules.isapnpmap modules. >> softdep >> modules.alias.bin modules.dep.bin modules.ofmap modules. >> symbols >> modules.builtin modules.devname modules.order modules. >> symbols.bin >> >> >> What I'm not able to figure out is how do I install the rootfs on the SD >> card? All the examples I found online were using a pre-compiled rootfs >> (like >> >> Angstrom-Beagleboard-demo-image-*.rootfs.tar.bz2 >> <http://downloads.angstrom-distribution.org/demo/beagleboard/Angstrom-Beagleboard-demo-image-glibc-ipk-2011.1-beagleboard.rootfs.tar.bz2>) >> , and just uncompress this file to the SD card does the trick. In my case >> how do I find >> >> the files that need to be installed on the SD card. Is there a tool that >> generates the rootfs for the kernel that I'm compiling? >> How do I copy the programs I compiled on to the SD card so that I can have >> them on the rootfs when I bring up the beagle board. >> >> >> >> (using Ubuntu 12.04 as the host system, Minicom to view the serial port >> interface) >> >> >> Thanks, >> asp5. >> >> -- To join: http://beagleboard.org/discuss >> To unsubscribe from this group, send email to: >> [email protected] <javascript:> >> Frequently asked questions: http://beagleboard.org/faq >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/060971c8-8706-437b-ae28-90e50dc657b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
