From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree
Date: Fri, 9 Jun 2017 12:39:41 +0000 [thread overview]
Message-ID: <1497011977.5507.1.camel@toradex.com> (raw)
In-Reply-To: <CAPnjgZ3QpkQ+JiteyBTdknbLnXmi+QzqWfVMDLzf3L3_-DVqZQ@mail.gmail.com>
Hi Simon
On Thu, 2017-06-08 at 22:04 -0600, Simon Glass wrote:
> Hi,
>
> On 8 June 2017 at 21:06, Simon Glass <sjg@chromium.org> wrote:
> > Hi Tom (Warren) / Marcel,
> >
> > On 2 June 2017 at 21:03, Simon Glass <sjg@chromium.org> wrote:
> > >
> > > This moves an entire board to use a live device tree as an
> > > example of the
> > > impact.
> > >
> > > Nyan-big was chosen because I can easily and boot U-Boot without
> > > any
> > > media swapping, etc. Beaver is enabled as well since it failed to
> > > boot
> > > with serial v1 due to a disabled console node.
> > >
> >
> > Have you been able to test this v2 series? Some problems were
> > reported
> > with v1 and I have found a few more since I discovered my jetson-
> > tk1
> > board. I'm planning to send a v3 soon, but please let me know if
> > you
> > see any issues.
>
> One more note - I pushed a v3 series to u-boot-dm/livet-working but
> have not sent the patches. Let me know if you find anything.
While Apalis TK1 now at least boots without any GPIO driver issues I
still saw the following few glitches:
Apalis TK1 # gpio status -a
Bank A:
A0: func
A1: input: 1 [ ]
A2: func
...
FF7: func
Bank as3722_:
as3722_0: unknown
as3722_1: unknown
as3722_2: unknown
as3722_3: unknown
as3722_4: unknown
as3722_5: unknown
as3722_6: unknown
as3722_7: unknown
Apalis TK1 # mmc dev 0
tegra_mmc_send_cmd_bounced: MMC Timeout
Interrupt status 0x00000001
Interrupt status enable 0xffff003b
Interrupt signal enable 0xffff0002
Present status 0x01fb02f6
mmc_init: -1, time 8066
While PCIe enumeration does not error out it seems not to detect the
Ethernet chip:
Apalis TK1 # pci enum
Apalis TK1 # dm tree
Class Probed Name
----------------------------------------
root [ + ] root_driver
pci [ + ] |-- pcie-controller at 01003000
...
That's how it should look (e.g. with older working U-Boot):
Apalis TK1 # ver
U-Boot 2016.11-2.7.2+g60021a4 (Apr 10 2017 - 07:55:49 +0200)
arm-angstrom-linux-gnueabi-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016
GNU ld (GNU Binutils) 2.27.0.20160806
Apalis TK1 # pci enum
Apalis TK1 # dm tree
Class Probed Name
----------------------------------------
root [ + ] root_driver
pci [ + ] |-- pcie-controller at 01003000
pci [ + ] | `-- pci_0:2.0
eth [ ] | `-- e1000#0
After enabling CONFIG_OF_LIVE I noticed the following additional issue:
Apalis TK1 # pci enum
ERROR: tegra-pcie: resource "pads" not found
at u-boot.git/drivers/pci/pci_tegra.c:499/tegra_pcie_parse_dt()
Trying to use a vanilla mainline Linux kernel device tree also did not
help:
U-Boot 2017.07-rc1-00150-gf325a89-dirty (Jun 09 2017 - 14:33:21 +0200)
TEGRA124
DRAM: 2 GiB
ERROR: tegra-xusb-padctl: failed to parse "nvidia,lanes" property
at /run/media/zim/Build/Sources/u-boot.git/arch/arm/mach-
tegra/tegra124/../xusb-padctl-
common.c:87/tegra_xusb_padctl_group_parse_dt()
ERROR: tegra-xusb-padctl: failed to parse group usb2
at /run/media/zim/Build/Sources/u-boot.git/arch/arm/mach-
tegra/tegra124/../xusb-padctl-
common.c:237/tegra_xusb_padctl_config_parse_dt()
ERROR: tegra-xusb-padctl: failed to parse entry pads: -22
at /run/media/zim/Build/Sources/u-boot.git/arch/arm/mach-
tegra/tegra124/../xusb-padctl-common.c:270/tegra_xusb_padctl_parse_dt()
ERROR: tegra-xusb-padctl: failed to parse "nvidia,lanes" property
at /run/media/zim/Build/Sources/u-boot.git/arch/arm/mach-
tegra/tegra124/../xusb-padctl-
common.c:87/tegra_xusb_padctl_group_parse_dt()
ERROR: tegra-xusb-padctl: failed to parse group usb2-0
at /run/media/zim/Build/Sources/u-boot.git/arch/arm/mach-
tegra/tegra124/../xusb-padctl-
common.c:237/tegra_xusb_padctl_config_parse_dt()
ERROR: tegra-xusb-padctl: failed to parse entry ports: -22
at /run/media/zim/Build/Sources/u-boot.git/arch/arm/mach-
tegra/tegra124/../xusb-padctl-common.c:270/tegra_xusb_padctl_parse_dt()
Just the order of the SDHCI controllers changed:
Apalis TK1 # mmc dev 2; mmc info
tegra_mmc_send_cmd_bounced: MMC Timeout
Interrupt status 0x00000001
Interrupt status enable 0xffff003b
Interrupt signal enable 0xffff0002
Present status 0x01fb02f6
mmc_init: -1, time 8066
But PCIe enumeration still fails:
Apalis TK1 # pci enum
ERROR: tegra-pcie: resource "pads" not found
at /run/media/zim/Build/Sources/u-
boot.git/drivers/pci/pci_tegra.c:499/tegra_pcie_parse_dt()
Let me know should you require any additional information.
> Regards,
> Simon
Cheers
Marcel
next prev parent reply other threads:[~2017-06-09 12:39 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-03 3:03 [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree Simon Glass
2017-06-03 3:03 ` [U-Boot] [PATCH v2 01/31] tegra: video: Time the LCD init Simon Glass
2017-06-03 3:03 ` [U-Boot] [PATCH v2 02/31] tegra: nyan-big: Enable the debug UART Simon Glass
2017-06-03 3:03 ` [U-Boot] [PATCH v2 03/31] dm: Fix error handling when unflattening the DT Simon Glass
2017-06-03 3:03 ` [U-Boot] [PATCH v2 04/31] tegra: nyan-big: Enable bootstage Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 05/31] dm: video: Sync display on backspace Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 06/31] dm: video: Update pwm_backlight to support livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 07/31] video: simple-panel: Add a little more debugging Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 08/31] tegra: Fix up include file ordering Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 09/31] tegra: spl: Enable debug UART Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 10/31] tegra: nyan: Add a PMC syscon driver Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 11/31] dm: tegra: Convert USB setup to livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 12/31] dm: tegra: Convert clock_decode_periph_id() to support livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 13/31] dm: video: tegra124: Convert to livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 14/31] tegra: Don't set up the UART clocks again in U-Boot Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 15/31] tegra: dts: Move stdout-path to /chosen Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 16/31] dm: tegra: gpio: Convert to support livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 17/31] dm: tegra: usb: Convert to livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 18/31] dm: tegra: spi: " Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 19/31] dm: tegra: i2c: " Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 20/31] dm: tegra: pwm: " Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 21/31] dm: tegra: mmc: " Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 22/31] power: Add a regulator driver for the as3722 PMIC Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 23/31] power: Add a GPIO " Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 24/31] dm: power: Convert as3722 to driver model Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 25/31] dm: serial: ns16550: Convert to livetree Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 26/31] dm: serial: Separate out the core serial-device finding code Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 27/31] dm: serial: Add livetree support Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 28/31] tegra: Show a debug message if the LCD PMIC fails to start Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 29/31] fdtdec: Drop old compatible values Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 30/31] tegra: fdt: Ensure that the console UART is enabled Simon Glass
2017-06-03 3:04 ` [U-Boot] [PATCH v2 31/31] dm: tegra: Move nyan-big and beaver to livetree Simon Glass
2017-06-09 3:06 ` [U-Boot] [PATCH v2 00/31] " Simon Glass
2017-06-09 4:04 ` Simon Glass
2017-06-09 12:39 ` Marcel Ziswiler [this message]
2017-06-09 16:30 ` Simon Glass
2017-06-12 3:49 ` Simon Glass
2017-06-09 15:58 ` Tom Warren
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=1497011977.5507.1.camel@toradex.com \
--to=marcel.ziswiler@toradex.com \
--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