public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support
Date: Mon, 30 Mar 2015 10:14:22 +0200	[thread overview]
Message-ID: <1427703262.24522.59.camel@collabora.co.uk> (raw)
In-Reply-To: <CAPnjgZ3oiQkH_RPrNdi_p4mHvENDrOmU1p1NWMBkyy-ypnib1g@mail.gmail.com>

On Fri, 2015-02-27 at 22:11 -0700, Simon Glass wrote:
> Hi Sjoerd,
> 
> On 25 February 2015 at 17:12, Sjoerd Simons
> <sjoerd.simons@collabora.co.uk> wrote:
> > Hey Simon,
> >
> > Incidentally i got acces to a Nyan big and wanted to start testing
> > u-boot on it. Unfortunately putting a uImage in a vboot signed blob to
> > chainload it from the primary bootloader like on the exynos based
> > chromebooks seemed not to work.
> >
> > Do you have any good pointers how to use u-boot on nyan? (Ideally
> > without having to re-flash coreboot, as i would like to create images
> > people can easily test on a vanilla chromebook)
> 
> No I don't sorry. I suppose in dev mode it should boot a signed image
> so if you put U-Boot in a FIT as with snow/pit it should work. But I
> don't have instructions...if you figure it out it would be good to put
> this info somewhere.

Finally got time to play a bit with this. On the snow/peach boards the
approach is to put u-boot in a legacy u-boot image (not a FIT image),
which has the nice side-effect of re-locating u-boot before jumping to
it. 

Unfortunately the depthcharge on the nyan boards appears not to support
legacy images, only FIT images, which don't get relocated before jumping
into the kernel blob. Long story short, on the nyan boards the FIT image
gets loaded at 0x81000000 and the FIT images i created put the u-boot
blob at an offset of 0xCC. After re-configuring CONFIG_SYS_TEXT_BASE to
match i got u-boot starting \o/ ;)

Unfortunately the board seems to hard hang when it tries to enable/use
the data cache. Enabling CONFIG_SYS_DCACHE_OFF makes it get to the
u-boot prompt. Unfortunately neither MMC (didn't detect card) nor USB
(failed to get descriptor from my usb network dongle) worked so i
couldn't try booting a kernel just, but it's start.

Simon, does data cache/MMC/USB work properly when booting u-boot
"natively" rather then chainloading from coreboot or does it have
similar issues?

Fwiw, I've attached the output of u-boot running onthe board (with
CONFIG_SYS_DCACHE_OFF enabled).



-- 
Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Collabora Ltd.
-------------- next part --------------

U-Boot 2015.04-rc4-00125-g662e2ac-dirty (Mar 30 2015 - 00:17:30)


TEGRA124

Model: Acer Chromebook 13 CB5-311

DRAM:  2 GiB

MMC:   Tegra SD/MMC: 0, Tegra SD/MMC: 1, Tegra SD/MMC: 2

Card did not respond to voltage select!

MMC init failed

Using default environment


In:    serial

Out:   serial

Err:   serial

Net:   Net Initialization Skipped

No ethernet found.

Hit any key to stop autoboot:  2 \b\b\b 1 \b\b\b 0 

MMC: no card present

Card did not respond to voltage select!

starting USB...

USB0:   USB EHCI 1.10

scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80

EHCI timed out on TD - token=0x80008d80

EHCI timed out on TD - token=0x80008c80

EHCI timed out on TD - token=0x80008c80

usb_get_configuration_no: failed to get descriptor - too long: 65460

usb_new_device: Cannot read configuration, skipping device 58f4:fffa

1 USB Device(s) found

USB1:   USB EHCI 1.10

scanning bus 1 for devices... 1 USB Device(s) found

       scanning usb for storage devices... 0 Storage Device(s) found

       scanning usb for ethernet devices... 0 Ethernet Device(s) found


USB device 0: unknown device

No ethernet found.

missing environment variable: pxeuuid

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00000000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/0000000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/000000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/0000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/0

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default-arm-tegra124

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default-arm

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default

No ethernet found.

Config file not found

No ethernet found.

Tegra124 (Nyan-big) # 

  reply	other threads:[~2015-03-30  8:14 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-17 22:29 [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 01/20] dm: spi: Avoid setting the speed with every transfer Simon Glass
2015-05-02 20:58   ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 02/20] cros_ec: Show the protocol version in the debug message Simon Glass
2015-05-02 20:58   ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 03/20] cros_ec: Handle the single duplex requirement in cros_ec Simon Glass
2015-05-02 20:58   ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 04/20] tegra: Provide more accurate microsecond time Simon Glass
2015-02-25 23:10   ` Stephen Warren
2015-03-29 13:00     ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 05/20] tegra: cros_ec: Add tegra support for Chrome OS EC Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 06/20] tegra: spi: Drop the claim_bus() method to correct delays Simon Glass
2015-02-25 23:14   ` Stephen Warren
2015-03-29 13:10     ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 07/20] dm: tegra: cros_ec: Enable Chrome OS EC on Nyan-big Simon Glass
2015-02-25 23:15   ` Stephen Warren
2015-03-29 13:00     ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 08/20] dm: gpio: Add an implementation for gpio_get_number() Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 09/20] tegra: spi: Support slow SPI rates Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 10/20] tegra: clock: Support enabling external clocks Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 11/20] tegra: clock: Adjust PLL access to avoid a warning Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 12/20] tegra: Introduce SRAM repair on tegra124 Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 13/20] tegra: Add missing tegra124 peripherals Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 14/20] tegra: Increase maximum arguments to 32 Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 15/20] tegra: lcd: Tidy up clock init Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 16/20] tegra: Allow board-specific init Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 17/20] tegra: nyan-big: Add additional clock and kernel init Simon Glass
2015-02-25 23:23   ` Stephen Warren
2015-03-29 13:02     ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 18/20] Add Chrome OS config header Simon Glass
2015-02-25 23:28   ` Stephen Warren
2015-02-26  9:15     ` thomas.langer at lantiq.com
2015-05-13 13:19     ` Simon Glass
2015-05-15 15:27       ` Stephen Warren
2015-05-18 21:40         ` Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 19/20] tegra: config: Allow Chrome OS environment settings to be included Simon Glass
2015-02-17 22:29 ` [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot Simon Glass
2015-02-25 23:31   ` Stephen Warren
2015-05-13 13:56     ` Simon Glass
2015-05-15 15:34       ` Stephen Warren
2015-05-18 21:33         ` Simon Glass
2015-05-19 15:41           ` Stephen Warren
2015-05-19 18:01             ` Simon Glass
2015-05-19 21:36               ` Stephen Warren
2015-05-19 23:27                 ` Simon Glass
2015-05-20  1:44                   ` Stephen Warren
2015-05-20  3:00                     ` Simon Glass
2015-05-20 10:21               ` Peter Robinson
2015-05-20 13:40                 ` Simon Glass
2015-05-20 14:04                   ` Stephen Warren
2015-05-20 14:14                     ` Simon Glass
2015-02-26  0:12 ` [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support Sjoerd Simons
2015-02-28  5:11   ` Simon Glass
2015-03-30  8:14     ` Sjoerd Simons [this message]
2015-03-30 23:51       ` Simon Glass
  -- strict thread matches above, loose matches on Subject: below --
2015-06-28  9:48 Davide Baldo
2017-05-01 14:43 Matthew Gorski
2017-05-01 15:14 ` Simon Glass
2017-05-01 15:37   ` Matthew Gorski
2017-05-01 15:45     ` Simon Glass
2017-05-01 16:11       ` Matthew Gorski
     [not found]         ` <CALr8Vo1R45iASk_1h7vDgcdaG=gQ3jvWXz4X4jchu_+6yfrfyA@mail.gmail.com>
2017-05-01 16:40           ` Matthew Gorski
2017-05-01 17:03             ` Simon Glass
2017-05-01 17:26               ` Matthew Gorski
2017-05-01 18:16                 ` Matthew Gorski
2017-05-01 18:36                 ` Simon Glass
2017-05-01 20:30                   ` Matthew Gorski
2017-05-01 22:02                     ` Simon Glass
2017-05-01 22:50                       ` Matthew Gorski
2017-05-01 23:27                       ` Matthew Gorski
2017-05-01 23:34                         ` Simon Glass
2017-05-01 23:45                           ` Matthew Gorski
2017-05-02  1:19                             ` Matthew Gorski
2017-05-02  6:40                               ` Tomeu Vizoso
2017-05-02  6:42                                 ` Tomeu Vizoso
2017-05-02  6:54                                   ` Sjoerd Simons
2017-05-02 13:25                                     ` Matthew Gorski
2017-05-02 15:34                                       ` Matthew Gorski
2017-05-03  0:51                                         ` Matthew Gorski
2017-05-03  2:39                                           ` Simon Glass
     [not found]                                             ` <CALr8Vo0QVq3y_KRaUDbfu3HMv5fRY9O9S7jh-Xxfrtyj9cmfzQ@mail.gmail.com>
     [not found]                                               ` <CALr8Vo0EvrPP0J8172W8Wf-k4rWVTp6QLPbTBXoarkya9X_CXg@mail.gmail.com>
2017-05-03 12:02                                                 ` Matthew Gorski
2017-05-05 17:54                                                   ` Thomas Hoff
2017-05-05 18:02                                                     ` Matthew Gorski
2017-06-05 19:59                                                       ` Simon Glass
2017-06-05 21:23                                                         ` Thomas Hoff

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=1427703262.24522.59.camel@collabora.co.uk \
    --to=sjoerd.simons@collabora.co.uk \
    --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