applied last updates to bananapi pro, doesn't boot now
I don't have time to look into all of this right now.
My log of prior updates shows /boot/uImage-armv7, /boot/uinitrd-armv7 and now they're not there, maybe I didn't RTFM something. I got 'trouble ahead', '/bin/sh: can't access tty; job control turned off'. looks like root drive is not mounted I've not had to diagnose arm boot failures, what should I look into next? Thank you |
Quote:
You just need to change the u-boot config and it'll boot. The installation documents provide the correct settings. Here's what it should look like. This is the default settings from the installation documentation, so you may have /boot on a different storage device. Code:
Then save the bootcmd_slk variable with the new settings (paste it into the u-boot console): Again, this is the default so you need your own string after the setenv bootcmd_slk part. Code:
setenv bootcmd_slk 'scsi reset;scsi reset;scsi scan ; run bootcmd_dtb ; ext4load scsi 0:2 ${kernel_addr_r} /boot/zImage-armv7 ; ext4load scsi 0:2 ${ramdisk_addr_r} /boot/initrd-armv7' Code:
=> printenv bootcmd If yours doesn't look like this, use this: Code:
setenv bootcmd 'run bootcmd_slk ; bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr} ; reset' If it doesn't, follow the installation instructions -you might need to change more of the u-boot configuration. That documentation has been fully baked for years now but I don't know what changed since you first installed it. You don't need to reinstall the OS though, just get the u-boot settings right. Hopefully you have a recent enough U-Boot on there too, otherwise you'll have to upgrade that. If you can get it working by changing the config, there's no need to upgrade U-Boot itself. |
2 Attachment(s)
Stuart, thank you for the prompt reply.
Quote:
Please check out attachments, I think I have what you said to do. This what I saw before rebooting Quote:
|
Quote:
After the warning message, does it boot properly? If it fails, or works, what does this show? Code:
strings /proc/device-tree/model |
Quote:
If you can boot the machine, download this: Code:
http://armed.slackware.com/tmp/initrd-armv7 Code:
cat /pathtowhereyouputit/initrd-armv7 > /boot/initrd-armv7 If it doesn't boot past the warning, I'll be surprised but it's easy enough to fix anyway. |
1 Attachment(s)
Stuart, thank you again for getting back with me.
Does not boot properly, boot process is stopped as in attached, usb becomes inactive, no keyboard. What's different about http://armed.slackware.com/tmp/initrd-armv7 than what got just installed: -rw-r--r-- 1 root root 40203445 May 11 15:39 /boot/initrd-armv7-5.10.36 like is my /boot/initrd-armv7-5.10.36 corrupt or something? I have the OS installed on a 128G ssd, seems like I'm going to have to mount it somewhere to do what you said. |
Quote:
You can check out Slackchat S02E12 for information about how it works. I'm certain that the new version of the initrd will work because my Banana Pi surfaces the same model name within the U-Boot console as the Kernel /proc interface (as you'd expect!). In fact you've just given me an idea. Thanks! Let me know how the new initrd goes. |
Thank you! Good to hear I've given you hopefully a good working idea!
Really trying to get to this, working lots of hours, will let you know what happens. |
Got it!
Stuart, thank you!
Did what you said and here's what you asked about Code:
/usr/bin/strings /proc/device-tree/model When boot process gets to Code:
if [ -z "$platform_detected" ]; then Is "LeMaker Banana Pro" something you'll add to boot process to allow banana pro like mine to continue normal slackwarearm kernel updates? I don't want to break it again and have to bug you some more. :) CHEERS! |
Quote:
|
applied last updates to bananapi pro, boots once again!
Current (pre-release) ChangeLog for ARM Sat May 29 08:08:08 UTC 2021
it's all good! |
All times are GMT -5. The time now is 11:27 AM. |