From: Peter Howard <pjh@coastal.net.au>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency
Date: Sun, 18 Mar 2018 15:21:22 +1100 [thread overview]
Message-ID: <1521346882.2118.21.camel@coastal.net.au> (raw)
In-Reply-To: <fd4eb9d1-23e5-ade3-e8c8-1648744afae0@lechnology.com>
On Fri, 2018-03-16 at 10:45 -0500, David Lechner wrote:
> On 03/16/2018 04:26 AM, Sekhar Nori wrote:
> > On Thursday 15 March 2018 08:02 PM, David Lechner wrote:
> > >
> > > Thanks for the tips. I've actually done exactly that (using my
> > > own SD
> > > card).
> > >
> > > However, these changes affect the u-boot SPL image only. I was
> > > able to put
> > > the regular u-boot.ais on the SD card, but I'm having troubling
> > > figuring
> > > out how to install the SPL image.
> >
> > Err, I thought u-boot.ais is SPL and U-Boot images concatenated
> > together. Anyway, I was able to test your change.
>
> I have no idea. :-)
>
> I've been trying to follow the TI wiki pages, but they are rather
> inconsistent
> so I am having trouble figuring out what is correct and what is not.
>
> [1] seems to be pretty good, but it doesn't have any board-specific
> information
> or information about installing U-Boot on the SD card. [2] Says to
> flash the
> NAND. [3] says to `sudo dd in=u-boot.ais of=/dev/sdx seek=10` and to
> "Flash the
> SPL AIS file into SPI flash" and to use some `tools/uflash/uflash`
> for the SD
> card that I never found. [4] says to `sudo dd if=u-boot-omapl138-
> lcdk.ais
> of=/dev/sd<N> seek=117 bs=512 conv=fsync`, which I did with my u-
> boot.bin, but
> I doesn't explain how to actually boot from this.
Note - the generated u-boot.ais and u-boot.bin are different images.
As Sekhar said, u-boot.ais is u-boot.bin + the SPL bit (which for the
L138 is AIS code). In an earlier reply, I mentioned HexAIS_OMAP-
L138.exe. For a long time you had to use that (or the Windows-only GUI
program) to add the AIS initialistion code to u-boot.bin. Now the SPL
section of u-boot does that, with u-boot.ais being the result.
If you put just the .bin file there, then the processor is going to
come up, look for an AIS "script", fail to find it, and give up.
>
> [1]: http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Lo
> ading_Utility_for_OMAP-L138
> [2]: http://processors.wiki.ti.com/index.php/L138/C6748_Development_K
> it_(LCDK)#Procedure_to_Flash_and_boot_the_LCDK
> [3]: http://processors.wiki.ti.com/index.php/OMAP-L138_Preparing_SD_C
> ard_for_Boot
> [4]: http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_crea
> te_SD_card_script
>
>
> >
> > Tested-by: Sekhar Nori <nsekhar@ti.com>
> >
> > Thanks,
> > Sekhar
> >
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180318/ddb9d46d/attachment.sig>
next prev parent reply other threads:[~2018-03-18 4:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 1:36 [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency David Lechner
2018-03-15 10:39 ` Peter Howard
2018-03-15 12:34 ` Sekhar Nori
2018-03-15 13:42 ` Sekhar Nori
2018-03-15 14:31 ` Sekhar Nori
2018-03-15 14:56 ` Tom Rini
2018-03-15 15:02 ` David Lechner
2018-03-16 8:04 ` Sekhar Nori
2018-03-15 15:01 ` Lokesh Vutla
2018-03-16 7:51 ` Sekhar Nori
2018-03-15 14:32 ` David Lechner
2018-03-16 9:26 ` Sekhar Nori
2018-03-16 15:45 ` David Lechner
2018-03-18 4:21 ` Peter Howard [this message]
2018-03-18 4:22 ` Peter Howard
2018-03-16 6:26 ` Mike Looijmans
2018-03-16 15:56 ` David Lechner
2018-03-18 18:26 ` Mike Looijmans
2018-03-18 4:12 ` Peter Howard
2018-03-22 20:35 ` [U-Boot] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521346882.2118.21.camel@coastal.net.au \
--to=pjh@coastal.net.au \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox