All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Tegra board problems
Date: Tue, 25 Nov 2014 09:25:55 -0700	[thread overview]
Message-ID: <5474AD93.3060900@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ2er6ehM+zMXYsMjWWn2enGYg3h3UCqfS=B3rc5BM64_g@mail.gmail.com>

On 11/25/2014 09:16 AM, Simon Glass wrote:
> Hi Stephen,
>
> On 25 November 2014 at 09:11, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 11/24/2014 09:03 PM, Simon Glass wrote:
>>>
>>> Hi,
>>>
>>> I'm a bit messed up with my testing now.
>>
>> ...
>>>
>>> 2. beaver: I cannot get mainline U-Boot to boot a kernel. In fact
>>> 'part list mmc 0' just prints an error:
>>>
>>> ## Unknown partition table
>>>
>>> It is getting a partition ID of 0. Is there something wrong with
>>> Beaver's mmc support in mainline?
>>
>>
>> I just built commit 2a82ec77d27e "Prepare v2015.01-rc2" and both eMMC and SD
>> appear to work.
>>
>> Do you have a valid partition table on the eMMC? If you installed L4T there
>> rather than partitioning it yourself, note that L4T uses a non-standard
>> "tegra PT" partition table format. Some newer versions of L4T also include a
>> backup GPT that makes some of the partitions available in a more standard
>> way, but IIUC there's never a primary GPT. I don't recall if the version of
>> L4T for Beaver was new enough to do even that though. Your best bet is to
>> use standard tools to install a complete GPT and then install a Linux distro
>> on top of that.
>>
>> Tegra30 (Beaver) # part list mmc 0
>>
>> Partition Map for MMC device 0  --   Partition Type: EFI
>>
>> Part    Start LBA       End LBA         Name
>>          Attributes
>>          Type GUID
>>          Partition GUID
>>    1     0x00000800      0x01da97ff      ""
>>          attrs:  0x0000000000000000
>>          type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
>>          guid:   ac3c736e-a29b-43d4-9819-4cf4fd84c3b0
>>
>> Tegra30 (Beaver) # part list mmc 1
>>
>> Partition Map for MMC device 1  --   Partition Type: EFI
>>
>> Part    Start LBA       End LBA         Name
>>          Attributes
>>          Type GUID
>>          Partition GUID
>>    1     0x00000022      0x003b9132      ""
>>          attrs:  0x0000000000000000
>>          type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
>>          guid:   b2f82cda-2535-4779-b467-094a210fbae7
>>
>
> OK thank you, that could be my problem. I'll try installing a new GPT.
>
> Will try out the Jetson and see if I can get it running again. So does
> that mean as shipped it runs an Android boot loader and then jumps to
> U-Boot?

It probably depends on which L4T release you have.

I think the following is accurate:

The first L4T releases for Jetson may have only supported the Android 
boot loader.

A later release certainly supported either the Android boot loader or 
U-Boot. You had to choose which to install at flashing time. The Android 
boot loader is/was the default, and is/was what is installed at the 
factory. In either case, there's no chain-loading of boot loaders, 
simply a choice of which to put into flash.

I believe the latest release only contains U-Boot, or perhaps supports 
both with U-Boot as the default, but I haven't validated that, nor 
whether it's actually shipped yet.

  reply	other threads:[~2014-11-25 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25  4:03 [U-Boot] Tegra board problems Simon Glass
2014-11-25 16:00 ` Stephen Warren
2014-11-25 16:11 ` Stephen Warren
2014-11-25 16:16   ` Simon Glass
2014-11-25 16:25     ` Stephen Warren [this message]
2014-11-26 15:39       ` Simon Glass

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=5474AD93.3060900@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --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 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.