Jump to content

Boot delay on OrangePi Zero Plus


lollapalooza

Recommended Posts

Hello,

Like it happened to @Grogorio in 2016, I need to introduce a boot delay on my OrangePi Zero Plus (Armbian 23.02.2 Focal) to allow time for other network elements in my setup to boot.

 

As per what I have read somewhere, this can done by adding a 'boot_delay=n' line in /boot/config.txt, however I don't see this file in Armbian; I've also tried to add the line, but it does not seems to be working.

Furthermore, the max delay that can be setup there is 10 seconds, but I need a longer delay.

 

Can someone help?

TIA

Link to comment
Share on other sites

18 hours ago, lollapalooza said:

however I don't see this file in Armbian

 

This can only means one thing - you didn't read forum or documentation well enough.
https://forum.armbian.com/forum/203-software-applications-userspace/ , second pinned topic. The rest is not Armbian specific and I would need to research too.

Link to comment
Share on other sites

So, basically you're saying that the /boot/config.txt file does not exist, and that /boot/armbianEnv.txt has to be used instead.

Unfortunately, it seems that an overview of all possible parameters for armbianEnv.txt does not exist, as it depends on the kernel version.

 

Anyway, as per the Kernel Parameters page for the kernel version I'm on, I believe the boot_delay parameter is not what I need, as it will delay each printk during boot.

 

I just need to add a pause of 30 seconds at boot... before the network is brought up.

Edited by lollapalooza
Link to comment
Share on other sites

39 minutes ago, lollapalooza said:

So, basically you're saying that the /boot/config.txt file does not exist

 

This is Raspbian & Raspberry Pi proprietary config file you won't find it anywhere else. Every HW vendor has its own config way, Armbian keeps this consistent regardless of hardware.

 

39 minutes ago, lollapalooza said:

and that /boot/armbianEnv.txt has to be used instead.


Correct. 
 

extraargs=boot_delay=30

 

that would would be passed to the kernel. But as you already figured out, this doesn't help in the problem you have. I would dig into documentation of network manager or systemd-networking, depending on which way you plan to configure your network.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines