Giter Club home page Giter Club logo

Comments (16)

RadxaStephen avatar RadxaStephen commented on August 15, 2024

Would you please show me your build commands?

from debos-radxa.

RadxaStephen avatar RadxaStephen commented on August 15, 2024

I didn't run that at VirtualBox.

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

This is command from your instruction
./build.sh -c rk3566 -b radxa-cm3-io -m ubuntu -d focal -v server -a arm64 -f gpt
or
./build.sh -c rk3566 -b radxa-cm3-io -m debian -d buster -v xfce4 -a arm64 -f gpt

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

Have you tried to compile system on existing cm3-io?

from debos-radxa.

RadxaStephen avatar RadxaStephen commented on August 15, 2024

This is command from your instruction ./build.sh -c rk3566 -b radxa-cm3-io -m ubuntu -d focal -v server -a arm64 -f gpt or ./build.sh -c rk3566 -b radxa-cm3-io -m debian -d buster -v xfce4 -a arm64 -f gpt

Would you please add change file docker/dev-shell like this and build again?

diff --git a/docker/dev-shell b/docker/dev-shell
index 53555a4..2b69c87 100755
--- a/docker/dev-shell
+++ b/docker/dev-shell
@@ -15,7 +15,7 @@ case $(uname -s) in
     exec docker run \
       --rm \
       --interactive --tty \
-      --device /dev/kvm \
+      --tmpfs /dev/shm:rw,nosuid,nodev,exec,size=4g \
       --security-opt label=disable \
       --env HOME \
       --privileged \

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

Ok, compilation was ended but now it has 338MB, your compilation have more than 600MB, do you know why? In other hand, it looks that this is not compilation of the system but only prepare application, how can I modified the kernel code and compile?

from debos-radxa.

RadxaStephen avatar RadxaStephen commented on August 15, 2024

From here, https://github.com/radxa/debos-radxa/releases, you can see that ubuntu and debian have different size.

To modify kernel source code and generate kernel package, please refer to this guide, https://wiki.radxa.com/Rock3/dev/Debian.

We only need two packages. Like

linux-headers-4.19.193-99-rockchip-g6bcb15a5b2d0_4.19.193-99-rockchip_arm64.deb
linux-image-4.19.193-99-rockchip-g6bcb15a5b2d0_4.19.193-99-rockchip_arm64.deb

Please ignore package 'linux-image--dbg.deb'

Put these two packages to debos-radxa repository. Location is rootfs/packages/arm64/kernel.

And start to build.

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

Ok, thanks, i will check and let you know ;) I see that CM4 IO have a button on the top to have possibility to flash. Do you know how can I flash device if iI don't have possibility to access tot his button?

from debos-radxa.

RadxaStephen avatar RadxaStephen commented on August 15, 2024

I don't see any button on CM4 IO. Please show me what it looks like?

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

On CPU of course, not on the board.

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

Is it any way to connect device to pc and mount like a mass storage?

from debos-radxa.

BartoszSoft avatar BartoszSoft commented on August 15, 2024

It looks that system don't have possibility to run application in 32 bits (can't run application from 32 bits on your system). I see that we don't have /lib/ld-linux-armhf.so.3, how can I add this? I

from debos-radxa.

RadxaStephen avatar RadxaStephen commented on August 15, 2024

Try this:

$ sudo dpkg --add-architecture armhf
$ sudo apt update
$ sudo apt install bc:armhf

And you would see /lib/ld-linux-armhf.so.3

from debos-radxa.

RadxaStephen avatar RadxaStephen commented on August 15, 2024

Another method is to build one 32bit system image.

Quick way. For example Radxa CM3 Ubuntu focal armhf image.

Change file, configs/boards/rk3566/config-radxa-cm3-io-ubuntu-focal-server-arm64-gpt.sh

Set ARCH=armhf

export ARCH=armhf

And run command.

./docker/dev-shell

# in docker container
./build.sh -c rk3566 -b radxa-cm3-io -m ubuntu -d focal -v server -a arm64 -f gpt

from debos-radxa.

Web4ProGit avatar Web4ProGit commented on August 15, 2024

First answer fix my issue but do you know this error "uses deprecated CP15 Barrier instruction at 0x33ec0" ? It looks that this is another issue with 64bit or maybe this CPU, same application is working perfect on Compute module 4 from raspberry Pi.

from debos-radxa.

Web4ProGit avatar Web4ProGit commented on August 15, 2024

Another issue, do you know why i received "ipc: Error: Send IPC message failed." when i run application which is normally working on raspberry cm4?

from debos-radxa.

Related Issues (20)

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.