Re: MLO doesn't work, rest is ok
On 09/05/2012 01:46 PM, Jan Weitzel wrote: I used gcc-linaro-4.5 with gcc-4.6.2 it stops working here also. I will try it with an older version then. Thank you all for your help! Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On 09/05/2012 01:18 PM, Anand Gadiyar wrote: What is the size of the generated MLO file? 38312, so it's not a size problem. Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On 09/05/2012 01:15 PM, Sascha Hauer wrote: Maybe you could try an older toolchain. There are some dark memories in my mind, but it could also be that my mind is fooling me... Ok, i will try this.. The MLO is generated from barebox.bin with the omap_signGP tool. It seems the header is 520byte in size. You could compare these between both images. Both configuration headers are the same. I don't know though if this is enough for the OMAP ROM code to detect a valid image. Meanwhile, i took a look at the MLO. The configuration header is ok, the image size in the GP header is correct, and the loading address is the same like in the working MLO. The first instruction in the image differs from the working one (the others too, of course). So the MLO should at least get loaded and started.. strange. Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On 13:15 Wed 05 Sep , Sascha Hauer wrote: > On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > > > >What gcc version do you have? > > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Maybe you could try an older toolchain. There are some dark memories in > my mind, but it could also be that my mind is fooling me... > > > > > Is there something which i could quickly check in the MLO, a > > checksum for example? Only if you know something, otherwise i can > > look it up in the OMAP manual, what he is doing to accept the MLO. > > > > As i said, it seems he doesn't like the MLO, because he's skipping > > to the next boot source.. > > The MLO is generated from barebox.bin with the omap_signGP tool. It > seems the header is 520byte in size. You could compare these between > both images. I don't know though if this is enough for the OMAP ROM code > to detect a valid image. maybe too big we need to set the BAREBOX_MAX_IMAGE_SIZE IIRC it's 54KiB Best Regards, J. ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
Am Mittwoch, den 05.09.2012, 13:15 +0200 schrieb Sascha Hauer: > On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > > > >What gcc version do you have? > > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Maybe you could try an older toolchain. There are some dark memories in > my mind, but it could also be that my mind is fooling me... I used gcc-linaro-4.5 with gcc-4.6.2 it stops working here also. Jan > > > > Is there something which i could quickly check in the MLO, a > > checksum for example? Only if you know something, otherwise i can > > look it up in the OMAP manual, what he is doing to accept the MLO. > > > > As i said, it seems he doesn't like the MLO, because he's skipping > > to the next boot source.. > > The MLO is generated from barebox.bin with the omap_signGP tool. It > seems the header is 520byte in size. You could compare these between > both images. I don't know though if this is enough for the OMAP ROM code > to detect a valid image. > > Sascha > ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On Wed, Sep 5, 2012 at 4:31 PM, Norbert Roos wrote: > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > What gcc version do you have? >> > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Is there something which i could quickly check in the MLO, a checksum for > example? Only if you know something, otherwise i can look it up in the OMAP > manual, what he is doing to accept the MLO. > > As i said, it seems he doesn't like the MLO, because he's skipping to the > next boot source.. > What is the size of the generated MLO file? - Anand ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > >What gcc version do you have? > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Maybe you could try an older toolchain. There are some dark memories in my mind, but it could also be that my mind is fooling me... > > Is there something which i could quickly check in the MLO, a > checksum for example? Only if you know something, otherwise i can > look it up in the OMAP manual, what he is doing to accept the MLO. > > As i said, it seems he doesn't like the MLO, because he's skipping > to the next boot source.. The MLO is generated from barebox.bin with the omap_signGP tool. It seems the header is 520byte in size. You could compare these between both images. I don't know though if this is enough for the OMAP ROM code to detect a valid image. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On 09/05/2012 12:53 PM, Sascha Hauer wrote: What gcc version do you have? gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Is there something which i could quickly check in the MLO, a checksum for example? Only if you know something, otherwise i can look it up in the OMAP manual, what he is doing to accept the MLO. As i said, it seems he doesn't like the MLO, because he's skipping to the next boot source.. Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On Wed, Sep 05, 2012 at 12:00:56PM +0200, Norbert Roos wrote: > On 09/05/2012 11:41 AM, Jan Weitzel wrote: > > >I just test it here it works. > > Did another test - still doesn't work: > > tar xfj barebox-2012.08.0.tar.bz2 > cd barebox-2012.08.0 > export ARCH=arm > export CROSS_COMPILE=arm-linux-gnueabi- > make pcm049_xload_defconfig > make > cp MLO barebox.bin > > >Did you use pcm049_xload_defconfig? > > Yes > > >SD card layout ok? > > As described in various places. A downloaded MLO does work. > > >Special nand mounted? > > What is this? NAND is enabled in the config... I think it even doesn't have to be enabled in the config. You won't be able to boot the second stage barebox from Nand then of course, but still you should see some output from the first stage. What gcc version do you have? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On 09/05/2012 11:41 AM, Jan Weitzel wrote: I just test it here it works. Did another test - still doesn't work: tar xfj barebox-2012.08.0.tar.bz2 cd barebox-2012.08.0 export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- make pcm049_xload_defconfig make cp MLO barebox.bin Did you use pcm049_xload_defconfig? Yes SD card layout ok? As described in various places. A downloaded MLO does work. Special nand mounted? What is this? NAND is enabled in the config... Thank you so far Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
Am Mittwoch, den 05.09.2012, 11:25 +0200 schrieb Norbert Roos: > On 09/05/2012 08:12 AM, Jan Weitzel wrote: > > >> I just wanted to try the freshly generated MLO and barebox.bin on my > >> Phytec PCM049 board (OMAP4 based). Copied both files to the FAT > >> partition on the SD card. > >> > >> Unfortunately it doesn't boot, after trying to boot from SD card the ROM > >> boot loader oviously skips to booting from UART. > > > > Hi, > > which barebox version? Is the board with OMAP4460? > > barebox is 2012.08.0, OMAP4430. I just test it here it works. Did you use pcm049_xload_defconfig? SD card layout ok? Special nand mounted? Maybe you ask at supp...@phytec.de Jan > bye > Norbert > > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
On 09/05/2012 08:12 AM, Jan Weitzel wrote: I just wanted to try the freshly generated MLO and barebox.bin on my Phytec PCM049 board (OMAP4 based). Copied both files to the FAT partition on the SD card. Unfortunately it doesn't boot, after trying to boot from SD card the ROM boot loader oviously skips to booting from UART. Hi, which barebox version? Is the board with OMAP4460? barebox is 2012.08.0, OMAP4430. bye Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: MLO doesn't work, rest is ok
Am Dienstag, den 04.09.2012, 18:31 +0200 schrieb Norbert Roos: > Hello, > > I just wanted to try the freshly generated MLO and barebox.bin on my > Phytec PCM049 board (OMAP4 based). Copied both files to the FAT > partition on the SD card. > > Unfortunately it doesn't boot, after trying to boot from SD card the ROM > boot loader oviously skips to booting from UART. > > When i replace the MLO with a different one (downloaded a compiled one), > my generated barebox.bin gets loaded and everything's fine. > > Is there a simple way for debugging it? It seems like the MLO does not > get executed, as the ROM boot skips to UART boot... > > bye > Norbert Hi, which barebox version? Is the board with OMAP4460? Jan > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
MLO doesn't work, rest is ok
Hello, I just wanted to try the freshly generated MLO and barebox.bin on my Phytec PCM049 board (OMAP4 based). Copied both files to the FAT partition on the SD card. Unfortunately it doesn't boot, after trying to boot from SD card the ROM boot loader oviously skips to booting from UART. When i replace the MLO with a different one (downloaded a compiled one), my generated barebox.bin gets loaded and everything's fine. Is there a simple way for debugging it? It seems like the MLO does not get executed, as the ROM boot skips to UART boot... bye Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox