Re: [U-Boot] amlogic a96 mini

2019-12-09 Thread Tom Rini
On Mon, Dec 09, 2019 at 08:47:07AM +0100, Belisko Marek wrote:
> Hi Tom,
> 
> On Wed, Dec 4, 2019 at 11:26 PM Tom Rini  wrote:
> >
> > On Fri, Nov 29, 2019 at 12:06:33PM +0100, Belisko Marek wrote:
> >
> > > Hi,
> > >
> > > I'm trying to run mainline u-boot on amlogic a96mini device but before
> > > I try to flash it does anybody have an idea if it will work on
> > > mainline. As I have limited number of devices and I know that after
> > > flashing I can brick the board so would like to ask if anybody have
> > > experience with this device and running mainline. Thanks and BR,
> >
> > I would strongly recommend making
> > https://github.com/superna/linux/wiki/Amlogic-HDMI-Boot-Dongle as a
> > back-up.  While I have before managed to interrupt a re-flash cycle such
> > that the DTB on-board is still there and so the binary portions of the
> > firmware are happy it will then load U-Boot from SD card.  I did not
> > play with mainline however.
> OK thanks for hint. IIRC this hdmi thingy tells FW from which media to
> boot and then I can compile u-boot and have boot it from SDcard?

Correct.  The previous stages will check and then if it sees the magic
continue to boot process from other media.  This will prevent you from
bricking the hardware :)

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] amlogic a96 mini

2019-12-08 Thread Belisko Marek
Hi Tom,

On Wed, Dec 4, 2019 at 11:26 PM Tom Rini  wrote:
>
> On Fri, Nov 29, 2019 at 12:06:33PM +0100, Belisko Marek wrote:
>
> > Hi,
> >
> > I'm trying to run mainline u-boot on amlogic a96mini device but before
> > I try to flash it does anybody have an idea if it will work on
> > mainline. As I have limited number of devices and I know that after
> > flashing I can brick the board so would like to ask if anybody have
> > experience with this device and running mainline. Thanks and BR,
>
> I would strongly recommend making
> https://github.com/superna/linux/wiki/Amlogic-HDMI-Boot-Dongle as a
> back-up.  While I have before managed to interrupt a re-flash cycle such
> that the DTB on-board is still there and so the binary portions of the
> firmware are happy it will then load U-Boot from SD card.  I did not
> play with mainline however.
OK thanks for hint. IIRC this hdmi thingy tells FW from which media to
boot and then I can compile u-boot and have boot it from SDcard?
For me any amlogic u-boot is fine just need to be sure it will boot
from emmc in final step then :). Thanks.
>
> --
> Tom

BR,

marek

-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


Re: [U-Boot] amlogic a96 mini

2019-12-04 Thread Tom Rini
On Fri, Nov 29, 2019 at 12:06:33PM +0100, Belisko Marek wrote:

> Hi,
> 
> I'm trying to run mainline u-boot on amlogic a96mini device but before
> I try to flash it does anybody have an idea if it will work on
> mainline. As I have limited number of devices and I know that after
> flashing I can brick the board so would like to ask if anybody have
> experience with this device and running mainline. Thanks and BR,

I would strongly recommend making
https://github.com/superna/linux/wiki/Amlogic-HDMI-Boot-Dongle as a
back-up.  While I have before managed to interrupt a re-flash cycle such
that the DTB on-board is still there and so the binary portions of the
firmware are happy it will then load U-Boot from SD card.  I did not
play with mainline however.

-- 
Tom


signature.asc
Description: PGP signature