quic / gunyah-support-scripts Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Just noticed while preparing a new round of tests:
shazam appears to grab the newest available patchset, lore.kernel.org/all/[email protected] which is not entirely compatible with this kernel (6.5?). I have applied the same patchset in my kernel (6.7-rc6), and I needed some tweaks to account for some other refactorings that were done.
I think dockerfile-hyp needs to have this fix:
Otherwise some of the cp commands fail with perm denied:
cp ${BASE_DIR}/utils/kern-test.sh ${TOOLS_DIR}/qemu/ && \
Hi- I am trying to find this directory. It can't be found any where in my root directory.
cd ~/tools/qemu
I found this instead: -
/gunyah/gunyah-support-scripts/scripts/utils$ kern-test.sh
When I run the script, it gives the error: -
./kern-test.sh: line 32: ./bin/qemu-system-aarch64: No such file or directory
Hi there,
I tried to set up the docker environment for gunyah on my machine and it didn't go well:
jglathe@snapdragix:~/src/gunyah-support-scripts/scripts$ ./build-docker-img.sh
Registry server is set to ubuntu:22.04
Building Docker file dockerfile-hyp
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%22GID%22%3A%221000%22%2C%22REGISTRY%22%3A%22ubuntu%3A22.04%22%2C%22UID%22%3A%221000%22%2C%22USER%22%3A%22jglathe%22%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=dockerfile-hyp&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=hyp%3Adev-term&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied
jglathe@snapdragix:~/src/gunyah-support-scripts/scripts$ docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1
jglathe@snapdragix:~/src/gunyah-support-scripts/scripts$ sudo ./build-docker-img.sh
Registry server is set to ubuntu:22.04
Building Docker file dockerfile-hyp
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 84.99kB
Step 1/46 : ARG REGISTRY
Step 2/46 : FROM "$REGISTRY"
---> e343402cadef
Step 3/46 : RUN apt-get update
---> Using cache
---> 2643af7ffb50
Step 4/46 : ARG DEBIAN_FRONTEND=noninteractive
---> Using cache
---> c0fc9bee9a80
Step 5/46 : ENV TZ=America/Los_Angeles LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
---> Using cache
---> 6b54104ed2f5
Step 6/46 : ARG USER=test
---> Using cache
---> 83b6e24d0d0f
Step 7/46 : ARG UID=50000
---> Using cache
---> a0e47bb721a2
Step 8/46 : ARG GID=200
---> Using cache
---> a33d412393ea
Step 9/46 : RUN groupadd -g "$GID" "$USER" && useradd -m -u "$UID" -g "$GID" -s /bin/bash "$USER" && echo "$USER:1234" | chpasswd && adduser "$USER" sudo
---> Running in a952998d8889
groupadd: group 'root' already exists
The command '/bin/sh -c groupadd -g "$GID" "$USER" && useradd -m -u "$UID" -g "$GID" -s /bin/bash "$USER" && echo "$USER:1234" | chpasswd && adduser "$USER" sudo' returned a non-zero code: 9
jglathe@snapdragix:~/src/gunyah-support-scripts/scripts$
Maybe I'm a bit too ambitious here, but this looks to me like a problem with running it as sudo. The machine I'm using is a Windows Dev Kit 2023 (sc8280xp-based chip, SQ3) running Ubuntu 23.10 with kernel 6.6.1. Is it even possible to run gunyah on this machine? The SoC looks powerful enough, and it's QualComm. Should I run the docker build environment on an x64 machine to get it going?
Any help is greatly appreciated.
I think we need this fix:
Otherwise get this error:
Step 29/30 : RUN cat bashrc-extn >> "${HOME}/.bashrc" && rm -f bashrc-extn
---> Running in 15c3e997d384
cat: bashrc-extn: Permission denied
The command '/bin/sh -c cat bashrc-extn >> "${HOME}/.bashrc" && rm -f
bashrc-extn' returned a non-zero code: 1
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.