angerman / meson64-tools Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
I am trying to use meson64-tools
to craft bootable image for Odroid c4 microsd card.
I do the following. I take fip
directory from https://github.com/LibreELEC/amlogic-boot-fip and then follow the instructions from the upstream u-boot doc/board/amlogic/odroid-c4.rst
.
Firstly, I use prebuild aml_encrypt_g12a
tool provided in fip
directory by LibreFLEC
. If use the tool, then the board boots fine:
U-Boot 2021.01 (Mar 04 2021 - 14:59:52 +0000) odroid-c4
Model: Hardkernel ODROID-C4
SoC: Amlogic Meson SM1 (S905X3) Revision 2b:c (10:2)
DRAM: 3.8 GiB
MMC: sd@ffe05000: 0, mmc@ffe07000: 1
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@ff3f0000
Hit any key to stop autoboot: 0
Then I try to do the same steps, but using meson64-tools
instead of prebuild aml_encrypt_g12a
.
Unfortunately, bootmk
doesn't produce u-boot.bin.sd.bin
at the last step, so I deploy u-boot.bin
instead. Then nothing happens at power on:
SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:1;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:2;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:1;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:2;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:3;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:4;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:5;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:6;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:7;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:8;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:9;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:A;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:B;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:C;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:D;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:E;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;LOOP:F;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;CHK:1F;USB:8;
Probably, I've just missed the idea how to create u-boot.bin.sd.bin
required to be deployed on the sd card.
Thanks for the effort regarding this project, I am really looking forward to seeing it released.
Since the documentation is still a little "missing" on how to build this, I just threw myself out in a make all
to see how it's going.
But in the ssl parts I get a couple of these errors:
cc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
With gcc 10.2 on aarch64 ofcourse.
it's entirely possible that I am missing dependencies of some sort, but it's hard to know without the documentation.
Keep up the good work. Will keep an eye on this project, in the hopes of one day being able to build a mainline amlogic uboot on the aarch64 device itself.
I see you have no LICENSE file for this project. The default is copyright.
I would suggest releasing the code under the GPLv3 or AGPLv3 license so that others are encouraged to contribute changes back to your project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.