Page 1 of 2

rune usb-hdd boot?

PostPosted: 08 Jan 2019, 12:42
by andre_chang
Hi
How can I make pi3b + boot with usb-hdd using rune?

If possible, please teach me how to operate. Thank you.

Thank you

Re: rune usb-hdd boot?

PostPosted: 08 Jan 2019, 14:40
by janui

Re: rune usb-hdd boot?

PostPosted: 08 Jan 2019, 19:10
by andre_chang
janui wrote:Hi andre_chang,

See here: https://www.raspberrypi.org/documentati ... des/msd.md

janui


Hi janui:
The Raspbian system has always been emphasized above!
I wonder if rune system is OK?

Re: rune usb-hdd boot?

PostPosted: 08 Jan 2019, 20:42
by janui
Hi andre_chang,
At this level (talking to the hardware) all the Linux variations for the Pi are very similar. Try using this:
Code: Select all
/opt/vc/bin/vcgencmd otp_dump | grep 17:
You can see that vcgencmd is called in a different way to Rasbian, but the command it is still there. For a Pi 3B+ the results look promising.
Trying it with a usb memory stick would be my next move.
janui

Re: rune usb-hdd boot?

PostPosted: 09 Jan 2019, 18:16
by andre_chang
janui wrote:Hi andre_chang,
At this level (talking to the hardware) all the Linux variations for the Pi are very similar. Try using this:
Code: Select all
/opt/vc/bin/vcgencmd otp_dump | grep 17:
You can see that vcgencmd is called in a different way to Rasbian, but the command it is still there. For a Pi 3B+ the results look promising.
Trying it with a usb memory stick would be my next move.
janui


Hi janui:
I have tested:
/ opt / VC / bin / vcgencmd otp_dump | grep 17
Show 17:3020000a
Raspberry succeeded! Enter Raspberry system normally!
But...
Rune failed!
Please janui check & test Rune usb-boot-mode?
Thank you

Re: rune usb-hdd boot?

PostPosted: 09 Jan 2019, 20:03
by janui
Hi andre_chang,
Even though I find it very interesting, I don't have the time at the moment to start experimenting with this topic and I will be away for the next couple of weeks. Hopefully I have a suggestion which may help you to the next step. If you look at this post: https://www.raspberrypi.org/blog/pi-3-b ... rage-boot/ It says that there are limitations. But you have already established that you can boot Rasbian on your usb device. So maybe the /boot/bootcode.bin needs updating (see the bottom of the posting). This is the link: https://github.com/raspberrypi/firmware ... otcode.bin You can download the file on your PC. The Rune image has two partitions on your boot device, one of which can be accessed by Windows on your PC. So if you plug in your Rune usb boot device on your PC (don't reformat anything, Windows will ask) you will be able to see one of these partitions. You should also be able to find the existing bootcode.bin file. Replace this with the one downloaded with the link. Try again.
janui

Re: rune usb-hdd boot?

PostPosted: 09 Jan 2019, 20:29
by janui
Hi andre_chang,
Just another thought in addition to my last post... There is file in the same directory as bootcode.bin, called cmdline.txt. You can modify it with notepad on your PC. The Linux root is defined in this file as '/dev/mmcblk0p2'. I don’t think this is correct for a usb disk. Something like '/dev/sda2' or '/dev/sdap2' is probably what is required.
janui

Re: rune usb-hdd boot?

PostPosted: 10 Jan 2019, 09:27
by andre_chang
After I tested bootcode. bin coverage
Pi3 on-line LED red light. Green light is always on. HDMI screen does not respond, can not start!
I haven't changed the content of cmdline.txt.

This is raspberry cmdline.txt:
Dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=025ce4e3-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh splash-serial-consoles.

This is Rune cmdline.txt:
Root=/ dev / mmcblk0p2 RW rootwait rootftfstype = ext4 console = ttyAMA0, 115200 console = tty1 SELinux = 0 plymouth. enable = 0 smsc95xx. turbo_mode = N dwc_otg. lpm_enable = 0 dwc_otg.fiq_enable = 1 c_otg.fiq_fsm_enable = 1 dwc_g.fifsm_enable = 1 dwc_g.q_fsm_mask = 0x3 console = ttyAMA0, 115200 console = tty1 SELinux = tty1 ttaam0, 115200smsc95xxx. enable = 0 smsc95xx. enable = 0 smsc95xx. v6. disable = 1 quiet

Maybe you should spend 20 minutes trying...

Re: rune usb-hdd boot?

PostPosted: 30 Jan 2019, 15:52
by andre_chang
hi janui:

I have the platform error mentioned above. So I can't start the usb. Please forgive me.

I am currently using pi3b Rune using 20180903_runeaudio_rpiB2.img
The system can boot normally from usb-hdd! Success!
But there are some problems with this img.
When pi3b accesses the HDMI display to watch the boot process, it finds that..
Halfway through the boot, a line appears on the screen of 7:
(1 of 2) A start job is running for vices-wlan 1.device (59s/1min 30s)
(2 of 2) A start job is running for dev-sda1. device (1min / 1min 30s)
It's a long time to start up!....

When the boot is completed, the browser will display:
RuneAudio is starting-up The page you are looking for is temporarily unavailable Please try again later
At this time... SSH can log in!
htop monitoring CPU usage load is very small! But browsers are prone to loops.
And the second browser can't connect. It's very slow. It's almost blocked.

Andre

Re: rune usb-hdd boot?

PostPosted: 30 Mar 2021, 02:27
by lyramax
I tried to boot 20180903_10_runeaudio_rpiB2.img from USB flash drive on my Pi 3B and got error messages as showed on the attached image.

Any pointer/suggestion would be greatly appreciated.

TIA.