rune usb-hdd boot?

Raspberry Pi related support

rune usb-hdd boot?

Postby andre_chang » 08 Jan 2019, 12:42

Hi
How can I make pi3b + boot with usb-hdd using rune?

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

Thank you
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: rune usb-hdd boot?

Postby janui » 08 Jan 2019, 14:40

User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: rune usb-hdd boot?

Postby andre_chang » 08 Jan 2019, 19:10

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?
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: rune usb-hdd boot?

Postby janui » 08 Jan 2019, 20:42

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
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: rune usb-hdd boot?

Postby andre_chang » 09 Jan 2019, 18:16

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
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: rune usb-hdd boot?

Postby janui » 09 Jan 2019, 20:03

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
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: rune usb-hdd boot?

Postby janui » 09 Jan 2019, 20:29

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
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: rune usb-hdd boot?

Postby andre_chang » 10 Jan 2019, 09:27

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...
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: rune usb-hdd boot?

Postby andre_chang » 30 Jan 2019, 15:52

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
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: rune usb-hdd boot?

Postby lyramax » 30 Mar 2021, 02:27

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.
Attachments
20210328_202440-sm.jpg
20210328_202440-sm.jpg (251.3 KiB) Viewed 969 times
lyramax
 
Posts: 3
Joined: 30 Mar 2021, 02:06

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 5 guests