
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,
marek

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/superna9999/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.

Hi Tom,
On Wed, Dec 4, 2019 at 11:26 PM Tom Rini trini@konsulko.com 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/superna9999/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

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 trini@konsulko.com 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/superna9999/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 :)
participants (2)
-
Belisko Marek
-
Tom Rini