flatmax / buildroot.rockchip

buildroot external for rockchip boards
Other
60 stars 22 forks source link

can't find the file path/rk3308_defconfig please fix this script #16

Closed kleysoncastro closed 1 year ago

kleysoncastro commented 1 year ago

I followed the steps to build, however I have the same result for the rk3308 chip and the others.

➜  $ tree -L 1
├── buildroot
└── buildroot.rockchip.ext

rock pi S tested with version : git checkout 2022.02.1 ok

exec command

➜  $ source buildroot.rockchip.ext/setup.rk3308.sh buildroot          
can't find the file /home/castro/kernel-rock/configs/rk3308_defconfig
please fix this script

as defconfig already exists in buildroot, it worked. I already apologize if I'm doing something wrong.

flatmax commented 1 year ago

Thanks for writing a very clear issue.

Can you please try using the full path to the ext and buildroot directories ? source /full-path/buildroot.rockchip.ext/setup.rk3308.sh /full-path/buildroot

Does that help ?

kleysoncastro commented 1 year ago

These were unsuccessful attempts.

$ /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh /home/castro/kernel-rock/buildroot
zsh: permission denied: /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh
$ kernel-rock sudo /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh /home/castro/kernel-rock/buildroot
[sudo] password for castro: 
sudo: /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh: command not found

I tried passing point

sudo ./home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh /home/castro/kernel-rock/buildroot
sudo: ./home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh: command not found

I downloaded the most current buildroot, it doesn't work either. Do you already have this problem?

flatmax commented 1 year ago

Please add source in front of the command

On Tue, 30 May 2023, 21:07 kleyson castro, @.***> wrote:

These were unsuccessful attempts.

$ /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh /home/castro/kernel-rock/buildroot zsh: permission denied: /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh $ kernel-rock sudo /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh /home/castro/kernel-rock/buildroot [sudo] password for castro: sudo: /home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh: command not found

I tried passing point

sudo ./home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh /home/castro/kernel-rock/buildroot sudo: ./home/castro/kernel-rock/buildroot.rockchip.ext/setup.rk3308.sh: command not found

I downloaded the most current buildroot, it doesn't work either. Do you already have this problem?

— Reply to this email directly, view it on GitHub https://github.com/flatmax/buildroot.rockchip/issues/16#issuecomment-1568237308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLUBYP77MLD5YOVVSM3D3XIXIF5ANCNFSM6AAAAAAYTDMADI . You are receiving this because you commented.Message ID: @.***>

kleysoncastro commented 1 year ago

It wasn't clear to me that I had to go into the buildroot.rockchip.ext directory and run the source inside. but I managed, I entered buildroot.rockchip.ext and it worked. obrigado

flatmax commented 1 year ago

Beleza !