Coder Social home page Coder Social logo

angerman / meson64-tools Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 6.0 4.29 MB

License: MIT License

Makefile 1.89% C 84.75% Nix 0.01% Dockerfile 0.08% CMake 0.53% Shell 7.51% C++ 0.14% Python 3.28% Meson 0.20% HTML 0.61% Roff 0.11% Tcl 0.01% Perl 0.86% SmPL 0.01% Batchfile 0.01% GDB 0.03%

meson64-tools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meson64-tools's Issues

Odroid C4 doesn't boot

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.

cannot specify '-o' with '-c', '-S' or '-E' with multiple files

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.

Missing LICENSE

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.