Unable to boot from SD card or mount a blank one

103 views
Skip to first unread message

Shrikumar Sharma

unread,
May 16, 2021, 7:52:04 AM5/16/21
to BeagleBoard
Hi

I am new to the BB AI. I have been facing some issues with the SD-card boot.
The board boots just fine off of the eMMC. However,  I would like to boot it from the SD card.
I have used a number of images from the BB images page, written them into the SD card with Balena etcher, no use - the board always boots off of the eMMC.

I then tried formatting the card with FAT32 , allocation unit size 4096, and then checked if I could at least mount it from the eMMC booted system. The SD card is never recognized and there is no entry in /dev for this device.

I tried using dtc on the am5729-beagleboardai.dtb to generate the dts, followed the post at:

specifically, I did this:
"converted the am5729-beagleboneai.dtb to xx.dts using "dtc". Then, I found out mmc1 node (mmc@4809c000), and modify some places as follows:

1. compatible = "ti,dra7-sdhci";   >>>>>      compatible = "ti,dra7-sdhci", "ti,omap4-hsmmc";

2. add: vmmc_aux-supply = <0xd0>; (same node with vqmmc-supply)

3. max-frequency = <0xb71b000>;     >>>>>      max-frequency = <0x16e3600>; (to lower the frequency of mmc)

 

Save and exit, then convert the .dts file to am5729-beagleboneai.dtb, replace the old one.

 "

(copied the steps from the above site)

This does not work either.

I dont have a serial interface for the board just yet so I dont have the serial output.

I would appreciate any input or help. I am not sure what I should do to get this board booting off of the SD card.

Thank you and Best regards!

John Dammeyer

unread,
May 16, 2021, 12:49:20 PM5/16/21
to beagl...@googlegroups.com

If it's like the Beaglebone Black, when you apply power,  you have to hold the boot button down for quite a while.    That's what tells the system to boot from the sd card.

 

It won't matter if you form the card as Balena etcher will write the image in the format required for the Beagle.

John

 

 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6b3311a3-c320-4053-97d4-bfeeeb01573dn%40googlegroups.com.

Kenneth Martin

unread,
May 16, 2021, 1:18:36 PM5/16/21
to Beagle Board
Have you tried the lsscsi and lsblk commands to see what the system thinks that device is?


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/KWuLQsQj0t4/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/0e2501d74a73%2460cbc360%2422634a20%24%40autoartisans.com.

John Dammeyer

unread,
May 16, 2021, 1:59:41 PM5/16/21
to beagl...@googlegroups.com

I just looked at one of the photos of the BB AI and I don't see a boot button.  So ignore my last posting.

 

If you install an sd card how does it know what to boot from?  Would it default to the sd image?  And if the /boot/uEnv.txt has the write to flash set at the end wouldn't it just automatically then write the image to eMMC?

 

Theoretically the BBB always boots to eMMC and the Boot button is required.  But I recall at some point also running the BBB where it booted automatically to the sd card image.  But I don't remember how it did that without the Boot button.  Is there an EEROM location that has been corrupted on the BB AI?

 

John

 

 

evilwulfie

unread,
May 16, 2021, 2:27:09 PM5/16/21
to beagl...@googlegroups.com
if i remember right. it boots from SD card if its there then defaults to Emmc
it was changed a long time ago to not need a boot button

Dennis Lee Bieber

unread,
May 16, 2021, 4:07:49 PM5/16/21
to Beagleboard
On Sun, 16 May 2021 09:49:02 -0700, in gmane.comp.hardware.beagleboard.user
"John Dammeyer" <johnd-5o6dItLo...@public.gmane.org> wrote:

>If it's like the Beaglebone Black, when you apply power, you have to hold the boot button down for quite a while. That's what tells the system to boot from the sd card.
>

That has only applied to very old BBB eMMC images... Sometime in the
late Wheezy or mid-Jessie era, u-Boot was modified to automatically search
for a uSD card image, and transfer control to the SD card if found.

I haven't had to touch the boot select switch in something like 3+
years.

Note: the BB AI does not have a boot select switch -- it expects the
eMMC u-Boot to do the switching if a proper card is found.


--
Dennis L Bieber

Robert Nelson

unread,
May 16, 2021, 4:35:05 PM5/16/21
to Beagle Board
The am57xx boot rom defaults to microsd before emmc...

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Shrikumar Sharma

unread,
May 18, 2021, 7:28:18 PM5/18/21
to BeagleBoard
Thank you for your answers. However, the board never recognizes the SD card...

Robert Nelson

unread,
May 18, 2021, 7:49:27 PM5/18/21
to Beagle Board
On Tue, May 18, 2021 at 6:28 PM Shrikumar Sharma <s.sha...@gmail.com> wrote:
>
> Thank you for your answers. However, the board never recognizes the SD card...

What is the image name of the file, you flashed with etcher.io to your SD card?

Regards,

--
Robert Nelson
https://rcn-ee.com/

Shrikumar Sharma

unread,
May 18, 2021, 8:19:43 PM5/18/21
to BeagleBoard
On Tuesday, May 18, 2021 at 7:49:27 p.m. UTC-4 RobertCNelson wrote:
On Tue, May 18, 2021 at 6:28 PM Shrikumar Sharma <s.sha...@gmail.com> wrote:
>
> Thank you for your answers. However, the board never recognizes the SD card...

What is the image name of the file, you flashed with etcher.io to your SD card?

Regards,


I used : am57xx-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz with etcher.

Dennis Lee Bieber

unread,
May 18, 2021, 10:04:02 PM5/18/21
to Beagleboard
On Tue, 18 May 2021 16:28:18 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Shrikumar Sharma
<s.sharma.b-Re5JQ...@public.gmane.org> wrote:

>Thank you for your answers. However, the board never recognizes the SD
>card...
>
Which could mean a faulty uSD card socket...


--
Dennis L Bieber

Reply all
Reply to author
Forward
0 new messages