public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT
Date: Tue, 04 Jun 2019 00:06:13 -0700	[thread overview]
Message-ID: <87o93d25ju.fsf@yucca> (raw)
In-Reply-To: <20190517183220.25766-1-marex@denx.de>

On 2019-05-17, Marek Vasut wrote:
> Update Kosagi Novena to DM / DT and remove the warnings.
> This depends on the following patches / series:
>
>   https://patchwork.ozlabs.org/patch/1095618/
>   https://patchwork.ozlabs.org/patch/1101171/

These are now merged in 2019.07-rc3.

>   https://patchwork.ozlabs.org/project/uboot/list/?series=108463

These were not yet.

I have two oustanding issues... with some files it sometimes fails to
load one or more from SATA:

Retrieving file: /boot/initrd.img-5.0.0-trunk-armmp
20077960 bytes read in 375 ms (51.1 MiB/s)
Retrieving file: /boot/vmlinuz-5.0.0-trunk-armmp
4215296 bytes read in 40 ms (100.5 MiB/s)
append: root=UUID=9666ab0b-f932-4e2f-95d7-0e96a12a4540 ro quiet
Retrieving file: /usr/lib/linux-image-5.0.0-trunk-armmp/imx6q-novena.dtb
CACHE: Misaligned operation at range [fafb5398, fafb6398]
CACHE: Misaligned operation at range [fafb5398, fafb6398]
ERROR: v7_outer_cache_inval_range - start address is not aligned -
0xfafb5398
ERROR: v7_outer_cache_inval_range - stop address is not aligned -
0xfafb6398
invalid extent block

It then falls back to one of the other kernels (using the extlinux.conf
parsing) and succeeds. It consistantly gets a cache/alignment error with
this specific file. A bit-for-bit identical .dtb loaded from another
path works just fine. Older versions of u-boot boot this fine. Would
some particular EXT4 flag possibly be causing issues?

Several other kernel+initrd+dtb combinations work fine.

I have not noticed issues loading from PXE.


The second issue is still using one out of four exposed USB ports fails
and resets the board:

load usb 0:1 $kernel_addr_r misc/Binaries/linux/Image
data abort
pc : [<fefbb67a>]          lr : [<fefbb0fd>]
reloc pc : [<1783367a>]    lr : [<178330fd>]
sp : faf7c6e8  ip : 00000003     fp : 00000005
r10: faf8b200  r9 : faf87ea0     r8 : 00000001
r7 : faf8b2c0  r6 : f9f7a040     r5 : faf7c710  r4 : 00000038
r3 : 0000006d  r2 : f9f7a0a3     r1 : faf8b32c  r0 : f9f7a09f
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Code: 4630fc5b 81f0e8bd e7d84606 bf082b2f (f822235c)
Resetting CPU ...

The three other usb ports work just fine with the same USB stick and
file. All four ports work with 2019.01.


Despite those two issues somewhat significant issues... it does appear
to work in general... so, with 2019.07-rc3 +
https://patchwork.ozlabs.org/project/uboot/list/?series=108463 and this
series applied, with the above caveats:

Tested-by: Vagrant Cascadian <vagrant@debian.org>

live well,
  vagrant

> Marek Vasut (7):
>   ARM: dts: imx: novena: Import Novena DT from Linux
>   ARM: imx: novena: Enable DM pin control
>   ARM: imx: novena: Enable DM GPIO
>   ARM: imx: novena: Convert block devices to DM
>   ARM: imx: novena: Enable DM USB
>   ARM: imx: novena: Enable DM PCI
>   ARM: imx: novena: Convert to DM VIDEO
>
>  arch/arm/dts/Makefile         |   3 +-
>  arch/arm/dts/imx6q-novena.dts | 797 ++++++++++++++++++++++++++++++++++
>  board/kosagi/novena/novena.c  |  77 +---
>  board/kosagi/novena/video.c   |   3 +
>  configs/novena_defconfig      |  18 +-
>  include/configs/novena.h      |   9 +-
>  6 files changed, 838 insertions(+), 69 deletions(-)
>  create mode 100644 arch/arm/dts/imx6q-novena.dts
>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Vagrant Cascadian <vagrant@debian.org>
> -- 
> 2.20.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190604/8b8f5db2/attachment.sig>

  parent reply	other threads:[~2019-06-04  7:06 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-17 18:32 [U-Boot] [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT Marek Vasut
2019-05-17 18:32 ` [U-Boot] [PATCH V2 1/7] ARM: dts: imx: novena: Import Novena DT from Linux Marek Vasut
2019-06-10  9:59   ` [U-Boot] [PATCH V2 1/7] ARM: dts: imx: novena: Import Novena DT sbabic at denx.de
2019-05-17 18:32 ` [U-Boot] [PATCH V2 2/7] ARM: imx: novena: Enable DM pin control Marek Vasut
2019-06-10  9:49   ` sbabic at denx.de
2019-05-17 18:32 ` [U-Boot] [PATCH V2 3/7] ARM: imx: novena: Enable DM GPIO Marek Vasut
2019-06-10  9:49   ` sbabic at denx.de
2019-05-17 18:32 ` [U-Boot] [PATCH V2 4/7] ARM: imx: novena: Convert block devices to DM Marek Vasut
2019-06-10  9:40   ` sbabic at denx.de
2019-05-17 18:32 ` [U-Boot] [PATCH V2 5/7] ARM: imx: novena: Enable DM USB Marek Vasut
2019-06-10  9:41   ` sbabic at denx.de
2019-05-17 18:32 ` [U-Boot] [PATCH V2 6/7] ARM: imx: novena: Enable DM PCI Marek Vasut
2019-06-08 20:45   ` Stefano Babic
2019-06-09  1:49     ` Marek Vasut
2019-06-09  7:34       ` Stefano Babic
2019-06-10  9:39   ` sbabic at denx.de
2019-05-17 18:32 ` [U-Boot] [PATCH V2 7/7] ARM: imx: novena: Convert to DM VIDEO Marek Vasut
2019-06-10  9:59   ` sbabic at denx.de
2019-06-04  7:06 ` Vagrant Cascadian [this message]
2019-06-06 17:17   ` [U-Boot] [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT Vagrant Cascadian
2019-06-07 19:09     ` Marek Vasut
2019-08-19 12:37   ` Marek Vasut
2019-08-20 17:41     ` Vagrant Cascadian
2019-09-26 18:52       ` [U-Boot] dcache issues with wandboard too (was: [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT) Vagrant Cascadian
2019-09-26 19:59         ` Marek Vasut
2020-01-27  0:02       ` [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT Marek Vasut

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=87o93d25ju.fsf@yucca \
    --to=vagrant@debian.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox