can't ssh to BBAI after upgrading rt kernel

372 views
Skip to first unread message

jo...@pocketnc.com

unread,
Apr 27, 2020, 4:43:01 PM4/27/20
to BeagleBoard
I also don't see anything when I hook up a monitor and keyboard. Is there a way to boot with an SD card and switch the kernel back? Any other options? I'd like to be able to save everything that was in my home directory if possible.

Dennis Lee Bieber

unread,
Apr 27, 2020, 5:23:34 PM4/27/20
to Beagleboard
On Mon, 27 Apr 2020 13:42:44 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user
If you can successfully boot from SD card, you should be able to mount
the eMMC and then copy that home directory off to the SD card.


--
Dennis L Bieber

John Allwine

unread,
Apr 28, 2020, 9:07:19 AM4/28/20
to Beagle Board
Thanks Dennis!

This is what I ended up doing:

2) Booted up the BBAI with the SD card in.
3) sudo mkdir /mnt/emmc
4) sudo mount -t ext4 /dev/mmcblk1p1 /mnt/emmc
5) Edited /mnt/emmc/boot/uEnv.txt and switched the kernel back
6) sudo shutdown -h now
7) Removed the SD card
8) Booted back up successfully from the eMMC

This post was helpful:
https://unix.stackexchange.com/questions/449529/repair-uenv-txt-from-u-boot-terminal

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/b21LZKh8z2w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/h7jeafpp1rugrj6ia70m8ki94cc81s58sm%404ax.com.

tombu...@gmail.com

unread,
Jun 5, 2020, 11:29:35 PM6/5/20
to BeagleBoard
I had the same problem. I had messed around with uEnb.txt and made it unreadable to the OS, stopping the OS from loading. I tried the link to that version of Linux you listed, but it didn't work at all. Then, I tried a different version,(https://debian.beagleboard.org/images/bone-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz) and it booted up like it should have when I held down S2. Also, on the matter of using a USB to UART cable, the manufacturer of the cable had the labels reversed. (Tx and Rx). Be aware that this might be a problem for you too. That took a while to trouble-shoot because the gobbledygook that is output to the screen is usually thought of as being just a bad baud setting.

Dennis Lee Bieber

unread,
Jun 6, 2020, 2:28:44 PM6/6/20
to Beagleboard
On Fri, 5 Jun 2020 20:00:42 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user
tomburtell-Re5JQ...@public.gmane.org wrote:

>I had the same problem. I had messed around with uEnb.txt and made it unreadable to the OS, stopping the OS from loading. I tried the link to that version of Linux you listed, but it didn't work at all. Then, I tried a different version,(https://debian.beagleboard.org/images/bone-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz) and it booted up like it should have when I held down S2. Also, on the matter of using a USB to UART cable, the manufacturer of the cable had the labels reversed. (Tx and Rx). Be aware that this might be a problem for you too. That took a while to trouble-shoot because the gobbledygook that is output to the screen is usually thought of as being just a bad baud setting.


Please keep track of which board you are discussing.

am57xx-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz
is for the Beaglebone AI whereas
bone-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz
is for the Beaglebone Black (and similar boards).

The BBAI and BBB use different SoCs (with much different on-board
hardware [unlike the R-Pis which have different SoCs but same on-board
hardware, so can function with a single OS image with just a bunch of board
specific DTBs), so an image built for one is not expected to run on the
other. As I recall, the BBAI also does not have a boot-select button (a
button that hasn't, in normal use, been required on the BBB since Debian
Jessie -- if the eMMC had been flashed with a modern uBoot smart enough to
search for the SD card and transfer control)




--
Dennis L Bieber

Reply all
Reply to author
Forward
0 new messages