I have a pogoplug E02, have flashed the latest u-boot, and am successfully booting from the latest rootfs on a usb thumbdrive. I should also mention that I flashed the latest default u-boot environment as well.
I want to use systemd (it seems to be necessary to properly install pi-hole software). I see in 'Note 2' of the rootfs post, that I should alter bootargs as follows:
fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/bin/systemd'
But, I've looked through the latest default env, and there is no mention of usb_set_bootargs, so doing this would just create an unused variable, right?
There is, however, a set_bootargs variable as follows:
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
I think what I should do is this:
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params init=/bin/systemd'
But it also doesn't look like custom_params is used anywhere, so does that mean I could instead do this:
fw_setenv custom_params 'init=/bin/systemd'
I'm afraid that might not work depending on the order in which the environment is parsed...i.e., if set_bootargs is defined before custom_params is defined, then this idea won't work.
It's also mentioned that I should use the uEnv.txt file to accomplish this, so could/should I create the uEnv.txt file with the following text:
custom_params=init=/bin/systemd
(this will only work if uEnv is imported before set_bootargs is defined...I'm guessing)
or
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params init=/bin/systemd
It's my understanding that you don't use the single quotes in the uEnv.txt file...is that right?
Anyway, I'm just looking for the definitive way to get my pink pogo using systemd.
Thanks.
I want to use systemd (it seems to be necessary to properly install pi-hole software). I see in 'Note 2' of the rootfs post, that I should alter bootargs as follows:
fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/bin/systemd'
But, I've looked through the latest default env, and there is no mention of usb_set_bootargs, so doing this would just create an unused variable, right?
There is, however, a set_bootargs variable as follows:
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
I think what I should do is this:
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params init=/bin/systemd'
But it also doesn't look like custom_params is used anywhere, so does that mean I could instead do this:
fw_setenv custom_params 'init=/bin/systemd'
I'm afraid that might not work depending on the order in which the environment is parsed...i.e., if set_bootargs is defined before custom_params is defined, then this idea won't work.
It's also mentioned that I should use the uEnv.txt file to accomplish this, so could/should I create the uEnv.txt file with the following text:
custom_params=init=/bin/systemd
(this will only work if uEnv is imported before set_bootargs is defined...I'm guessing)
or
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params init=/bin/systemd
It's my understanding that you don't use the single quotes in the uEnv.txt file...is that right?
Anyway, I'm just looking for the definitive way to get my pink pogo using systemd.
Thanks.