Comments (8)
Was make flash
ever available for the rpi3?
Try make img-help
and follow the instructions printed. Per rpi3.mk
:
# Creating images etc, could wipe out a drive on the system, therefore we don't
# want to automate that in script or make target. Instead we just simply provide
# the steps here.
from build.
Got it. My bad.
from build.
No problem. Closing issue but feel free to post new one if required.
from build.
Is there an issue with making the sd card image on a different device than where the image was built? My ubuntu system is a vm on a fedora system.
from build.
Is there an issue with making the sd card image on a different device than where the image was built? My ubuntu system is a vm on a fedora system.
I'm not 100% sure I follow you here, but I'd say no, there is no issue moving things around. As long as you can mount the card inside the VM you are good to go. Where you have built them doesn't matter, it is still the same cross compiler being used.
from build.
If you're using the instructions from make img-help
verbatim then yes. You can probably transfer/copy the required files to the other device and substitute the variable (GEN_ROOTFS_PATH
) with whatever it is on the other device.
from build.
The reason for this is that Virt manager doesn't want to let me mount my sd card reader to the guest. It seems like the path of least resistance to try to get the files out and make the image outside. I'll give it a spin and report back. Thanks.
Edit:
Alternately are there build instructions for fedora? Specifically what packages are required?
from build.
I see, well if you can mount a folder accessible from you Fedora dist containing the Ubuntu-built files, then you should just be able to put the files on the SD-card. I.e, if you do that from Fedora or the Ubuntu VM doesn't matter. A side note here, doing the "move file to SD-card" for the RPi3/OP-TEE setup becomes tedious pretty quickly. After doing that a handful of times you will probably start to mumble and swear 😄 . So I think it's well worth spending ~1h trying to configure the tftp/nfs setup. Since that saves so much time in the long run and actually makes RPi3 a quite nice platform to use after that.
Alternately are there build instructions for fedora? Specifically what packages are required?
I think most people in our team are running Ubuntu. Me personally also runs OP-TEE on Arch Linux and that works fine and wasn't too hard to get working. Basically what I did was starting a build and when I noticed errors I searched for the particular package corresponding to the Ubuntu package and tried to build again and so on. Besides the packages needed, please also make sure to put Python2 on the $PATH
before Python3. Some of the projects we are using doesn't work with Python3 unfortunately. This can be done globally on the dist, but you can also make temporary changes. I didn't want to mess with my system, so I just created a folder where I symlinked python to python2 then I just export/source that line before starting my build. I guess there tons of ways how this could be done and this is one of them.
$ pwd && ll
/home/jbech/devel/init
total 8
drwxr-xr-x 2 jbech jbech 4096 Aug 1 2016 .
drwxr-xr-x 45 jbech jbech 4096 Dec 5 23:49 ..
lrwxrwxrwx 1 jbech jbech 16 Aug 1 2016 python -> /usr/bin/python2
$ cat ~/bin/init_python2
export PATH=$HOME/devel/init:$PATH
# Before building OP-TEE
source ~/bin/init_python2
from build.
Related Issues (20)
- Error building op-tee for QEMUv8 HOT 6
- Using hikey620's uart0 to console NW world HOT 1
- Issue with building image - v3.22.0 on Raspberry Pi 3B+ HOT 1
- Modify the linux kernel but not working HOT 3
- Failure to run with manifest qemu_v8.xml and SPMC_AT_EL=2 HOT 2
- AMD Versal ACAP - do not update to BSP 2023.1 HOT 4
- cannot find -lpci error while cross compiling for LS1043 HOT 1
- Who can help me!make -f qemu.mk all and get a error :ccache: error: Exec format error HOT 5
- Openssl doesn't get built in when build called from qemu.mk HOT 2
- RPI3b:-sh: apt-get: not found HOT 3
- Does the build support the config XEN_BOOT=y && SPCM_AT_EL=2 on qemu_v8 HOT 5
- Rust error "could not rename downloaded file" HOT 3
- Rust error: "failed to install component: 'rust-std-aarch64-unknown-linux-gnu', detected conflict" HOT 2
- Legacy BR options in tooclhain build HOT 6
- image load on qemu HOT 2
- optee_test_ext: /bin/bash: Argument list too long HOT 3
- Build fails on aarch64 hosts HOT 25
- toolchain.mk: Rust toolchain is not downloaded on aarch64 hosts HOT 1
- C++ tests fail on aarch64 hosts HOT 2
- Compilation of Rust examples fails on aarch64 hosts HOT 2
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 build.