Replies: 2 comments 1 reply
-
Hello, and used the instruction given in following page for installation I added all the commands in shell script and tried to execute the same. However I am always getting error for following line it says [[: invalid command. Personally I have not used [[ for any command. Would like to understand what exactly this line will try to do.. or what changes I should make to get it working. I tried to ignore the error and reboot the RPI. But it didn't boot showing me rainbow screen. Please suggest how to proceed. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your help.
I could solve the issue by using bash instead of sh.
Regards,
Vandana
…On Tue, Sep 6, 2022, 1:27 AM Kevin Doren ***@***.***> wrote:
@vkhargwanshi <https://github.com/vkhargwanshi>
a few thoughts:
1. run commands as root ("sudo su" to become root)
2. make sure to set bash var KERN as listed in release notes (you'll
need 64-bit version). It needs to match the kernel you install.
3. install the correct deb package before running commands
4. "[[" is a bash test command, see:
https://unix.stackexchange.com/questions/306111/what-is-the-difference-between-the-bash-operators-vs-vs-vs
5. "invalid command" may possibly come from stray control characters,
i.e. if you edited a script in Windows.
6. I just copy and paste the command block in the wiki, and it works.
(need to wait a few secs for it to complete copying files).
7. before rebooting, inspect /boot/config.txt and check the block that
was added at the end. "os_prefix" refers to a directory under /boot/, which
should contain files needed for boot.
—
Reply to this email directly, view it on GitHub
<#16 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2ZM32CHJTDVT6KNJMS2UFTV4ZGD3ANCNFSM5FGXRK5Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I started a wiki in this repo, and created a few pages about building PREEMPT_RT kernel, and installing linux kernel for Raspberry Pi for Raspberry Pi OS and Ubuntu (experimental),
Check it out, especially if you have installation or build questions. Feel free to add to it or suggest changes.
https://github.com/kdoren/linux/wiki
Beta Was this translation helpful? Give feedback.
All reactions