Comments (4)
Hi @m5p3nc3r,
The SoC is already running TF-A but with Amlogic closed source implementation.
the upstream implementation only provided the bl31.bin binary, so you can keep the current scheme but take the bl31.bin binary from the TF-A build and replace the bl31 provided by prebuilt-FIPs and keep the current u-boot generate scheme since the other binaries are still needed.
I recently pushed a commit on master using https://github.com/LibreELEC/amlogic-boot-fip as source for the prebuilt binaries.
from meta-meson.
Thanks for the feedback - I tend to have an allergic reaction to sources that I can't see! The problem I am trying to debug is that when booting Xen I don't seem to be able to bring up any processors (other than CPU0 which is hard-wired on).
I was suspecting an invalid SMC call, but assuming that this wil be picked up by bl31, I wanted to have something there that I could debug.
This may of course be the red herring? And my problem lies elsewhere??
from meta-meson.
So yeah, at some point you'll need to use closed source code... the closed source portions only do DDR setup and system low-level setup like plls & bus optimization. It also provides a complete secure & trusted boot implementation (if you get the eFuses mapping and fusing protocol :-p)
For your processor bring up issue, indeed the BL31 is the one intercepting these calls and forwarding the proper power-up to the M3 SCP co-processor, so it's the right one to debug.
But I'm not sure it supports G12B with it's secondary cluster, and may need some love.
from meta-meson.
Ok, thanks. I have enough to work with here. Will close.
from meta-meson.
Related Issues (20)
- Make usage of amlogic-boot-fip Makefile feature HOT 3
- - nothing provides linux-firmware-bcm43430a0 needed by packagegroup-core-boot-1.0-r17.seirobotics_sei610 HOT 3
- Add all missing WiFi and BT firmware for boards HOT 2
- ERROR: mesa-2_21.0.3-r0 do_configure: meson failed HOT 7
- WARNING: /home/yocto-crops/build/tmp/work/seirobotics_sei610-poky-linux/u-boot-meson-gx/1_2021.10-r0/temp/run.do_deploy.38771:317 exit 1 from 'cp ${FIPDIR}/bl31.img ${DESTDIR}/bl31.img' HOT 4
- Integrate with meta-mender HOT 2
- Integrate with meta-lmp HOT 1
- Integrate with meta-rauc
- Integrate with meta-swupdate HOT 3
- Add audio setup for mainline support boards HOT 2
- Only compiles on x86 host HOT 4
- Add kas config files
- Support for Amlogic A311D2 and Khadas VIM4 HOT 1
- Dokumentation improvement HOT 4
- Is there a way to reduce the linux-firmware one fits all package? HOT 1
- s905-autoscript question HOT 5
- Flashing to Emmc s905x3 HOT 1
- khadas-vim3: do_kernel_configcheck: config analysis failed HOT 2
- Support radxa-zero
- cannot compile, breaks with errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-meson.