* help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" @ 2015-08-05 14:24 justin chaise 2015-08-05 14:37 ` Otavio Salvador 2015-08-05 14:41 ` Nikolay Dimitrov 0 siblings, 2 replies; 5+ messages in thread From: justin chaise @ 2015-08-05 14:24 UTC (permalink / raw) To: meta-freescale Hello all, I hope this is the correct mail list. If some one could take some time and read all of this I would be very grateful. linux-fslc 3.18.7 u-boot-fslc PROBLEM: I can not get past "Uncompressing Linux... done, booting the kernel". MY GOAL: My goal is to load a tiny operating system to DRAM, so that I can burn the NAND through the USB port. (something like Manufacturing tools). Prototypes only have recovery mode accessible, and can only be loaded by recovery mode. Boot mode is hard-wired in NAND configuration. DEBUG PORT OUTPUT: NOTICE ALL TEST ARE USING 8 MEG DRAM MODEL ------------------------------------------------ U-Boot 2015.04 (Jul 17 2015 - 15:33:27) CPU: Freescale i.MX23 rev1.3 at 454 MHz BOOT: NAND DRAM: 8 MiB MMC: MXS MMC: 0 MMC0: No card detected! MMC init failed Using default environment Video: MXSFB: 'videomode' variable not set! In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 Kernel image @ 0x40400000 [ 0x000000 - 0x07eb10 ] ## Flattened Device Tree blob at 40700000 Booting using the fdt blob at 0x40700000 Loading Device Tree to 40365000, end 4036aa04 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. ------------------------------------------------ After waiting for several minutes I have no additional output. In addition I have noticed the HID sb_loader has not disconnected. Questions: * Is the small 8 MEGS of DRAM causing the MMU to not operate correctly? * Is the MMU altering my DRAM MMU clock? ( I had to set to EMI 96 Mhz for DRAM stability in U-boot.) * Why would the MMU appear to crash? * Is the .config file wrong? * Is there a Setting incorrect in my DTS file? ( I do not think the DTB is used before /init/main.c ) Please help me find a solution to my issues here. I should to tell you that I have been working on this for a few months now without resolve. I have tried to figure things out myself, but I guess I really need help. I am new to embedded products and the linux operating system. Ideas, Comments or Documentation are very welcome. I have read and reread so much information, if could be specific as to the chapter or section that would help me. Please any help is greatly appreciated. Thanking you very considerately in advance. jc__ I have included links to my files so that you may look at them. --------------------------------------- * this file - help question ** mxs_help.txt *** https://www.dropbox.com/s/tu1nf78ldn72lon/mxs_help.txt?dl=0 * my debug attempts: ** mxs_debugAttempts.txt *** https://www.dropbox.com/s/668l9umlx1dop0i/mxs_debugAttempts.txt?dl=0 * my hardware and soft ware specs ** mxs_HardwareAndSoftwareSpecs.txt *** https://www.dropbox.com/s/x0nx2labg9j1anb/mxs_HardwareAndSoftwareSpecs.txt?dl=0 * my step by step build procedure ** mxs_StepByStepBuild.txt *** https://www.dropbox.com/s/zidpwkqfgvv713g/mxs_StepByStepBuild.txt?dl=0 --------------------------------------- * u-boot source files that I changed ** spl_mem_init.c *** https://www.dropbox.com/s/jzir5exvsaii96d/spl_mem_init.c?dl=0 ** mx23evk.h *** https://www.dropbox.com/s/6y6zwy1bts31zdr/mx23evk.h?dl=0 * linux-fslc files ** System.map *** https://www.dropbox.com/s/nyd561xt8rn2s42/System.map?dl=0 ** ampd2-Changes.dts *** https://www.dropbox.com/s/ctj8gn6fh6od19k/ampd2-Changes.dts?dl=0 ** .config *** https://www.dropbox.com/s/vko6q5vdajqgz5w/.config?dl=0 * Elftosb 2.6.1 ** mycmd *** https://www.dropbox.com/s/hw81j8i2xwolzme/mycmd?dl=0 ** ampd2-Changes.dtb *** https://www.dropbox.com/s/deyqc3fezg4s6v7/ampd2-Changes.dtb?dl=0 ** u-boot.bin *** https://www.dropbox.com/s/0p097iemlqi8wke/u-boot-spl.bin?dl=0 ** u-boot-spl.bin ** zImage *** https://www.dropbox.com/s/4qo5tk1cuv06yli/zImage?dl=0 --------------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" 2015-08-05 14:24 help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" justin chaise @ 2015-08-05 14:37 ` Otavio Salvador 2015-08-05 14:41 ` Nikolay Dimitrov 1 sibling, 0 replies; 5+ messages in thread From: Otavio Salvador @ 2015-08-05 14:37 UTC (permalink / raw) To: justin chaise; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 594 bytes --] On Wed, Aug 5, 2015 at 11:24 AM, justin chaise <justinchaisejmc1@gmail.com> wrote: > Hello all, I hope this is the correct mail list. > If some one could take some time and read all of this I would be very > grateful. > I won't be able to review your source code but I strongly advise you to move for Fido as it offers a much newer kernel and a more polished user space software stack. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 [-- Attachment #2: Type: text/html, Size: 1209 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" 2015-08-05 14:24 help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" justin chaise 2015-08-05 14:37 ` Otavio Salvador @ 2015-08-05 14:41 ` Nikolay Dimitrov 2015-08-05 15:37 ` justin chaise 1 sibling, 1 reply; 5+ messages in thread From: Nikolay Dimitrov @ 2015-08-05 14:41 UTC (permalink / raw) To: justin chaise; +Cc: meta-freescale Hi Justin, Please check this Yocto discussion from May 2015: https://lists.yoctoproject.org/pipermail/meta-freescale/2015-May/013953.html Regards, Nikolay ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" 2015-08-05 14:41 ` Nikolay Dimitrov @ 2015-08-05 15:37 ` justin chaise 2015-08-05 19:15 ` Nikolay Dimitrov 0 siblings, 1 reply; 5+ messages in thread From: justin chaise @ 2015-08-05 15:37 UTC (permalink / raw) To: Nikolay Dimitrov; +Cc: meta-freescale Thanks Nikolay, It looks like that discussion was about a 'missing' dtb file, device tree therefor no terminal to display kernel bootup info. I use the command in u-boot to pass the blob location in sdram. bootz 0x40400000 - 0x40700000 my boot arguments are bootargs=earlyprintk console=ttyAMA0,115200n8 mem=nopentium I dont think that the kernel ever gets to that point because it seem to lockup when the mmu is enabled. head.S - command mcr p15, 0, r0, c1, c0, 0 @ write control reg To see what would happen I did comment out that line and the kernel continued on for a little while, finding the device tree blob. All of my debugging says that this line locks up the cpu. I don't believe that the kernel ever gets to the point of using the blob. Am I completely wrong here? I have not updated my code from linux-fslc since June (30 days old code) this year because it looks like a lot of changes are going on to up to linux 4.x. https://github.com/Freescale/linux-fslc.git https://github.com/Freescale/u-boot-fslc.git On Wed, Aug 5, 2015 at 8:41 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote: > Hi Justin, > > Please check this Yocto discussion from May 2015: > > https://lists.yoctoproject.org/pipermail/meta-freescale/2015-May/013953.html > > Regards, > Nikolay ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" 2015-08-05 15:37 ` justin chaise @ 2015-08-05 19:15 ` Nikolay Dimitrov 0 siblings, 0 replies; 5+ messages in thread From: Nikolay Dimitrov @ 2015-08-05 19:15 UTC (permalink / raw) To: justin chaise; +Cc: meta-freescale Hi Justin, On 08/05/2015 06:37 PM, justin chaise wrote: > Thanks Nikolay, > It looks like that discussion was about a 'missing' dtb file, device > tree therefor no terminal to display kernel bootup info. > > I use the command in u-boot to pass the blob location in sdram. > bootz 0x40400000 - 0x40700000 > my boot arguments are > bootargs=earlyprintk console=ttyAMA0,115200n8 mem=nopentium > > I dont think that the kernel ever gets to that point because it seem > to lockup when the mmu is enabled. > head.S - command > mcr p15, 0, r0, c1, c0, 0 @ write control reg I'm not an assembly/MMU guru, but if this opcode is executed properly on another imx233 board (like the Olinuxino), this could probably means that the 8MB memory is too small? I've never worked on project with such tight memory budget and can't confirm how easy is to get things working there. > > To see what would happen I did comment out that line and the kernel > continued on for a little while, finding the device tree blob. > All of my debugging says that this line locks up the cpu. > I don't believe that the kernel ever gets to the point of using the blob. > Am I completely wrong here? Hmm. Can you please check the kernels for Olinuxino boards (the imx233-based ones) in Yocto and Buildroot: Yocto, branch fido: linux-4.1 Buildroot, branch master: linux-3.18.2 If you have any of these boards handy (imx233-olinuxino-maxi, imx233- olinuxino-mini, imx233-olinuxino-micro, imx233-olinuxino-nano) you can build yocto/buildroot image and test whether it boots OK, and then you can compare the DTs with yours (you can also compare the board schematics if you need). > > I have not updated my code from linux-fslc since June (30 days old > code) this year because it looks like a lot of changes are going on to > up to linux 4.x. > https://github.com/Freescale/linux-fslc.git > https://github.com/Freescale/u-boot-fslc.git > > On Wed, Aug 5, 2015 at 8:41 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote: >> Hi Justin, >> >> Please check this Yocto discussion from May 2015: >> >> https://lists.yoctoproject.org/pipermail/meta-freescale/2015-May/013953.html >> >> Regards, >> Nikolay > > > Regards, Nikolay ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-05 19:15 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-08-05 14:24 help with linux-fslc 3.18.7 stops at "Uncompressing Linux... done, booting the kernel" justin chaise 2015-08-05 14:37 ` Otavio Salvador 2015-08-05 14:41 ` Nikolay Dimitrov 2015-08-05 15:37 ` justin chaise 2015-08-05 19:15 ` Nikolay Dimitrov
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.