From: Victor A. <vi...@cy...> - 2011-03-18 10:14:51
|
Hi, I'm trying to use that Linux Omap PM 2.6.38 following the steps describes in the Gumstix.org wiki. I download the sources, build the image and flashed an older Overo Earth. In the wiki says to boot from microSD image (and modify the u-boot console parameter to ttyO2), and I have flashed the NAND, that's the only different I have done. But when I boot the image (after modify the u-boot console parameter and the /etc/inittab from ttyS2 to ttyO2) I get these error messages: .... [ 115.507995] mtd->read(0x2a4 bytes from 0xf74155c) returned ECC error [ 115.515106] uncorrectable error : [ 115.518585] uncorrectable error : [ 115.522186] mtd->read(0x108 bytes from 0xeb64ef8) returned ECC error [ 115.529541] uncorrectable error : [ 115.533020] uncorrectable error : [ 115.536621] mtd->read(0x130 bytes from 0xeb63ed0) returned ECC error [ 115.543762] uncorrectable error : [ 115.547210] uncorrectable error : [ 115.550811] uncorrectable error : [ 115.554443] mtd->read(0x2cc bytes from 0xeb63d34) returned ECC error [ 115.561950] uncorrectable error : [ 115.565429] uncorrectable error : [ 115.569030] uncorrectable error : [ 115.572662] uncorrectable error : .... Do I have to boot it from a microSD? Thanks ----- Original Message ----- From: Marshall Crocker To: General mailing list for gumstix users. Sent: Sunday, March 13, 2011 4:43 AM Subject: Re: [Gumstix-users] Low Power How to Did you change the console to use ttyO2 instead of ttyS2? For whatever reason, the serial ports on the omap are referred to now as ttyO# instead of ttyS#. This change was made sometime around 2.6.37-rc3 or so... Look at the how to under the Custom PM Kernel section for instructions on how to change the console over to ttyO2. Marshall On Sat, Mar 12, 2011 at 7:24 PM, TJ <jor...@gm...> wrote: Hey Marshall So it built OK and I loaded my SD card with the resulting uImage and unpacked the lib modules onto my file system (again on my SD card). Unfortunately, the boot process only got as far as Starting kernel ... Uncompressing Linux... done, booting the kernel. Nothing happened on the console after that. I'm thinking it's gone into a low power mode or something since it's only drawing 200mA. Any idea how I can wake it up? On 12 March 2011 16:47, TJ <jor...@gm...> wrote: > oops - my mistake - virtual disk got full. Have enlarged the drive > and it's currently building - will let you know how it goes. > cheers, > TJ > > On 12 March 2011 15:33, TJ <jor...@gm...> wrote: >> Hey Marshall >> >> I did exactly as you said but got some errors during the build and it >> failed. Here is what happened: >> >> trev@trev-laptop:~/overo-oe$ bitbake -b >> user.collection/recipes/linux/linux-omap-pm_2.6.38.bb >> NOTE: Out of date cache found, rebuilding... >> >> Build Configuration: >> BB_VERSION = "1.10.2" >> METADATA_BRANCH = "overo" >> METADATA_REVISION = "b4574a2" >> TARGET_ARCH = "arm" >> TARGET_OS = "linux-gnueabi" >> MACHINE = "overo" >> DISTRO = "angstrom" >> DISTRO_VERSION = "2010.7-test-20110312" >> TARGET_FPU = "hard" >> >> --2011-03-12 14:50:13-- >> http://www.angstrom-distribution.org/unstable/sources/git_git.kernel.org.pub.scm.linux.kernel.git.khilman.linux-omap-pm.git_43a25a09a41ded0cc588dbd4ffd5fe7dcc8a5a7d.tar.gz >> Resolving www.angstrom-distribution.org... 188.40.83.200 >> Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected. >> HTTP request sent, awaiting response... NOTE: Preparing runqueue >> NOTE: Executing runqueue >> NOTE: Running task 2 of 22 (ID: 8, >> /home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb, >> do_fetch) >> NOTE: package linux-omap-pm-2.6.38-r97-pm2+gitr43a25a09a41ded0cc588dbd4ffd5fe7dcc8a5a7d: >> task do_fetch: Started >> NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/git_git.kernel.org.pub.scm.linux.kernel.git.khilman.linux-omap-pm.git_43a25a09a41ded0cc588dbd4ffd5fe7dcc8a5a7d.tar.gz >> 404 Not Found >> 2011-03-12 14:53:23 ERROR 404: Not Found. >> >> Initialized empty Git repository in >> /home/trev/overo-oe/sources/git/git.kernel.org.pub.scm.linux.kernel.git.khilman.linux-omap-pm.git/.git/ >> >> fatal: write error: No space left on device >> fatal: index-pack failed >> fatal: write error: Broken pipe >> ERROR: TaskFailed event exception, aborting >> ERROR: Build of >> /home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb >> do_fetch failed >> ERROR: Task 8 (/home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb, >> do_fetch) failed with 256 >> ERROR: '/home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb' >> failed >> NOTE: Task failed: Fetch failed: Unable to fetch URL >> git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git;protocol=git;branch=pm >> from any source. >> NOTE: package linux-omap-pm-2.6.38-r97-pm2+gitr43a25a09a41ded0cc588dbd4ffd5fe7dcc8a5a7d: >> task do_fetch: Failed >> ERROR: TaskFailed event exception, aborting >> ERROR: Build of >> /home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb >> do_fetch failed >> ERROR: Task 8 (/home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb, >> do_fetch) failed with 256 >> ERROR: '/home/trev/overo-oe/user.collection/recipes/linux/linux-omap-pm_2.6.38.bb' >> failed >> >> >> On 12 March 2011 09:30, Marshall Crocker <ma...@gm...> wrote: >>> TJ, >>> >>> I have managed to create a working bitbake recipe for the 2.6.38 pm kernel. >>> Download and extract this archive to your over-oe directory: >>> http://iconux.org/files/oe/user.collection_overo_pm.tar.gz >>> >>> Then run >>> >>> bitbake -b user.collection/recipes/linux/linux-omap-pm_2.6.38.bb >>> >>> This should download the pm kernel from git and build the kernel. >>> >>> Note: The resulting kernel has sound disabled and the usb is "off". >>> >>> If it works I will update the how-to to use these recipes as the only PM >>> kernel. >>> >>> Marshall >>> >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>> >>> >> > |