All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 00/19] sunxi: sync H3, H5, A64 DTs from mainline Linux
Date: Mon, 2 Apr 2018 21:06:47 +0200 (CEST)	[thread overview]
Message-ID: <63321c8143515a59@bloch.sibelius.xs4all.nl> (raw)
In-Reply-To: <9ae1cb46-04cb-e29d-a657-bc4f4ec86809@arm.com> (message from =?UTF-8?Q?Andr=c3=a9_Przywara?= on Mon, 2 Apr 2018 16:14:29 +0100)

> From: =?UTF-8?Q?Andr=c3=a9_Przywara?= <andre.przywara@arm.com>
> Date: Mon, 2 Apr 2018 16:14:29 +0100
> 
> On 02/04/18 13:47, Mark Kettenis wrote:
> 
> Hi,
> 
> >> From: =?UTF-8?Q?Andr=c3=a9_Przywara?= <andre.przywara@arm.com>
> >> Date: Mon, 2 Apr 2018 12:51:50 +0100
> >>
> >> On 02/04/18 12:20, Mark Kettenis wrote:
> >>
> >> ....
> >>
> >>>> This feature make U-Boot to have full Linux dts inside, Can't we
> >>>> implement automatic-boot-of-os distro to grab Linux dtb during
> >>>> commands stage like other distro does? Because this make few
> >>>> development struggles for U-Boot project like (few of the comments are
> >>>> repeated from previous mail, but I'm trying to group them all)
> >>>> - Unnecessary to maintain nodes which are not required for bootloader
> >>>> and which doesn't have proper dt drivers.
> >>>> - It becomes more patches for each-and-every sync.
> >>>> - We can compare the sync with Linux dt and simply apply on U-Boot
> >>>> which look not good to project growing.
> >>>> - Increase size(though it 10KB increase) it becomes unnecessary size
> >>>> from U-Boot point-of-view
> >>>
> >>> This is not just about booting Linux.  And even if it was, it means
> >>> that you can only boot on hardware for which a full device tree is
> >>> included in your distro.  So a new board that comes with a usable
> >>> U-Boot in SPI flash still won't work since the right device tree isn't
> >>> there.
> >>
> >> Ah right, I didn't even mention SPI flash in that thread. Thanks!
> >>
> >> Out of curiosity: what OS are you thinking about? Collecting trophies
> >> here ;-) I tried the FreeBSD-current installer the other day, and it
> >> worked pretty well.
> > 
> > OpenBSD.  ARMv8-wise, our support for Allwinner A64/H5 and Rockchip
> > RK3399 is pretty decent these days and Rockchip RK3328 is coming along
> > as well.
> 
> Ah, great! I didn't know that OpenBSD was that far.
> Do you know of anything missing in the DT or UEFI support from mainline
> U-Boot? I put firmware images on my Pine64 github repo[1] for A64 and H5
> boards, which are based on 2018.03 plus this series, if you want to give
> it a try.
> Trying to wrap my around INSTALL.arm64, but you might be faster ;-)
> Does 6.2 provide enough to work? Or shall I wait till the 15th?

6.3 was released today!  Defenitely try that instead of 6.2.

> >  And I'm working on Marvell 8040 support.  There is support
> > for ARMv7 as well which includes many of the older Allwinner SoCs.
> > We don't have the resources to build images for all the different
> > boards that are out there though, which probably is the biggest
> > stumbling block for getting OpenBSD to run.  Our bootloader is UEFI,
> 
> That sounds good!
> 
> > so with a recent enough U-Boot in flash the default install.fs image
> 
> Is that the FFS filesystem in the OpenBSD partition of miniroot.fs?
> Which just contains the bsd.rd kernel + RAM fs?
> The 6.2 directory didn't have an explicit install.fs image.

Hmm, I meant minirootXX.fs (which for 6.3 is called miniroot63.fs).

That is a disk image that can be dd'ed directly to the boot media,
i.e. a uSD card.  It has an MBR partition table, a partition with a
FAT filesystem that has the UEFI bootloader (and Raspberry Pi
firmware) and a partition with an OpenBSD disklabel and an FFS
filesystem that has the bsd.rd kernel that includes the RAM
filesystem.

You can simply overwrite the Pine64 firmware that is already on there
(in the space before the first partition) with your own firmware.  My
Pine64 board is dead, but I tried your firmware on my Orange Pi PC 2
and it works fine.

Mainline U-Boot works fine as well, but it works better if I stick an
updated Linux device tree on the FAT filesystem.  I believe that with
the current U-Boot device tree only one of the USB ports works.

  reply	other threads:[~2018-04-02 19:06 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14  1:56 [U-Boot] [PATCH v4 00/19] sunxi: sync H3, H5, A64 DTs from mainline Linux Andre Przywara
2018-03-14  1:56 ` [U-Boot] [PATCH v4 01/19] sunxi: README.sunxi64: Add hint about non-debug of ARM Trusted Firmware Andre Przywara
2018-03-21 18:40   ` Jagan Teki
2018-03-21 19:03     ` André Przywara
2018-03-21 19:08       ` Jagan Teki
2018-03-21 19:23         ` André Przywara
2018-03-14  1:56 ` [U-Boot] [PATCH v4 02/19] sunxi: gpio: add missing compatible strings Andre Przywara
2018-03-14  1:56 ` [U-Boot] [PATCH v4 03/19] net: sun8i-emac: support new pinctrl DT bindings Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 04/19] net: sun8i-emac: add support for new EMAC DT binding Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 05/19] arm: dts: sunxi: update A64 to new EMAC binding Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 06/19] arm: dts: sunxi: update H3 " Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 07/19] arm: dts: sunxi: update H5 " Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 08/19] net: sun8i-emac: remove support for old binding Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 09/19] sunxi: disable direct MMC environment Andre Przywara
2018-03-14  7:17   ` Maxime Ripard
2018-03-14  1:57 ` [U-Boot] [PATCH v4 10/19] sunxi: revert disabling of features Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 11/19] Revert "sunxi: Pine64: temporarily remove extra Pine64 non-plus DT" Andre Przywara
2018-03-14  7:17   ` Maxime Ripard
2018-03-14  1:57 ` [U-Boot] [PATCH v4 12/19] sunxi: DT: A64: update device tree file for Allwinner A64 SoC Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux Andre Przywara
2018-03-23 18:14   ` Jagan Teki
2018-03-24  1:07     ` André Przywara
2018-03-27 14:30       ` Maxime Ripard
2018-03-27 14:43         ` Andre Przywara
2018-03-27 17:46           ` Jagan Teki
2018-03-30  4:25           ` [U-Boot] [linux-sunxi] " Chen-Yu Tsai
2018-04-01  1:28             ` André Przywara
2018-04-01  2:41               ` Chen-Yu Tsai
2018-05-08 10:34                 ` Jagan Teki
2018-05-08 13:15                   ` Andre Przywara
2018-07-04  6:54                     ` Jagan Teki
2018-03-27 17:58       ` [U-Boot] " Jagan Teki
2018-03-27 22:53         ` André Przywara
2018-03-28  9:52           ` Jagan Teki
2018-03-28 11:15             ` Maxime Ripard
2018-03-28 17:59               ` Jagan Teki
2018-03-29  9:07                 ` Maxime Ripard
2018-03-29  9:30                   ` Jagan Teki
2018-03-28 13:52             ` Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 14/19] sunxi: DT: update device tree files for Allwinner H3 and H5 SoCs Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 15/19] sunxi: DT: H5: update board .dts files from Linux Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 16/19] sunxi: DT: H3: " Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 17/19] sunxi: DT: H3: update libre-cc board .dts file Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 18/19] sunxi: DT: H2+: update Opi-zero .dts Andre Przywara
2018-03-14  1:57 ` [U-Boot] [PATCH v4 19/19] sunxi: DT: A64: add proper SoPine baseboard device tree Andre Przywara
2018-03-29  8:51 ` [U-Boot] [PATCH v4 00/19] sunxi: sync H3, H5, A64 DTs from mainline Linux Jagan Teki
2018-03-29  9:06   ` Maxime Ripard
2018-03-29  9:19   ` Andre Przywara
2018-03-29  9:30     ` Maxime Ripard
2018-04-02  7:40     ` Jagan Teki
2018-04-02 11:20       ` Mark Kettenis
2018-04-02 11:51         ` André Przywara
2018-04-02 12:47           ` Mark Kettenis
2018-04-02 15:14             ` André Przywara
2018-04-02 19:06               ` Mark Kettenis [this message]
2018-04-02 11:39       ` André Przywara
2018-04-03 17:14 ` Jagan Teki

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=63321c8143515a59@bloch.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --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.