Unable to boot from SD Card or eMMC

283 views
Skip to first unread message

Geetha

unread,
Oct 28, 2019, 5:11:11 AM10/28/19
to BeagleBoard
   I have been using BBB with QNX, booted from the SD Card.  The SD Card is FAT32 formated with the following files
  MLO, u-boot, uEnv & qnx-ifs.  I have been running many applications without problem..
    I wanted to port QNX to eMMC so that by default it boots from the eMMC so that SD card can be avoided. Hence, the followed the steps as below

1.  After QNX boot, I created a partition (fdisk)
2.  Formatted the eMMC to fat32 (mkdosfs),
3.  Mounted it. 
4.  Copied the above four files to eMMC

All these were successful.  Verified using df & ls command.  Then restarted.

Now, the BBB is neither booting from eMMC nor from SD-card.  It gives out "CCCCC" on Serial output.  However, the same SD card used in another BBB is booting fine with QNX.

How do I get the BBB booting?


Dennis Lee Bieber

unread,
Oct 28, 2019, 12:56:32 PM10/28/19
to Beagleboard
On Mon, 28 Oct 2019 02:11:11 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Geetha
<geethaandrew-Re5J...@public.gmane.org> wrote:


>Now, the BBB is neither booting from eMMC nor from SD-card. It gives out
>"CCCCC" on Serial output. However, the same SD card used in another BBB is
>booting fine with QNX.
>
>How do I get the BBB booting?

Will it boot from SD card if you are holding down the boot-select
button when applying power?

If not, I suspect it was relying upon initially loading u-Boot from the
eMMC and then transferring control to the SD card rather than using the
u-Boot on the card -- and you've wiped the initial u-Boot.

Try creating a Debian flasher image (and again you might need the
boot-select button) to restore the eMMC with a valid u-Boot.
--
Dennis L Bieber

Geetha

unread,
Oct 29, 2019, 1:49:10 AM10/29/19
to BeagleBoard
Thanks for your response.

Boot select button is having no effect...

U-boot is a valid one, since the card has booted from it without any issue from SD-Card...

Any other suggestions?

Thanks

--Geetha


On Monday, October 28, 2019 at 10:26:32 PM UTC+5:30, Dennis Bieber wrote:
On Mon, 28 Oct 2019 02:11:11 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Geetha

Mark Lazarewicz

unread,
Oct 29, 2019, 2:22:25 AM10/29/19
to beagl...@googlegroups.com
Is the Fat Partition marked bootable?
Did you read the QNX  BSP documents (of course not)
Are we supposed to guess what's in your uenv.txt?

Did you Google what CCC means it's the ROM bootloader saying yikes what does that tell you?

You should repeat the process on your other good board 😉


On Tue, Oct 29, 2019 at 12:49 AM, Geetha
Thanks for your response.

Boot select button is having no effect...

U-boot is a valid one, since the card has booted from it without any issue from SD-Card...

Any other suggestions?

Thanks

--Geetha

On Monday, October 28, 2019 at 10:26:32 PM UTC+5:30, Dennis Bieber wrote:
On Mon, 28 Oct 2019 02:11:11 -0700 (PDT), in

gmane.comp.hardware. beagleboard.user Geetha
<geethaandrew- Re5JQEeQqe8AvxtiuMwx3w@public. gmane.org> wrote:


>Now, the BBB is neither booting from eMMC nor from SD-card.  It gives out
>"CCCCC" on Serial output.  However, the same SD card used in another BBB is
>booting fine with QNX.
>
>How do I get the BBB booting?

        Will it boot from SD card if you are holding down the boot-select
button when applying power?

        If not, I suspect it was relying upon initially loading u-Boot from the
eMMC and then transferring control to the SD card rather than using the
u-Boot on the card -- and you've wiped the initial u-Boot.

        Try creating a Debian flasher image (and again you might need the
boot-select button) to restore the eMMC with a valid u-Boot.
--
Dennis L Bieber

--
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/49d542e2-a777-44ca-8f25-71890ac9c440%40googlegroups.com
.

Geetha

unread,
Oct 30, 2019, 2:21:53 AM10/30/19
to BeagleBoard
1.  Yes, FAT Partition marked bootable
2.  Yes ,BSP User Guide Texas Instruments   AM335x BeagleBone Texas Instruments AM335x BeagleBone Black.  This contains details about BSP to be run on SD Card.  Is there any other document detailing loading to Flash?
3.  uEnv goes like this
                   uenvcmd=mmcinfo; fatload mmc 0 81000000 qnx-ifs.bin;go 81000000
4. CCCC says its unable to get uBoot....


https://e2e.ti.com/support/processors/f/791/p/378142/1330741#1330741

Will the steps detailed in the above post is applicable to QNX as well?
Will the IFS generated and used for SD-card will be the same for eMMC as well?

Thankful for any inputs.
Geetha




To unsubscribe from this group and stop receiving emails from it, send an email to beagl...@googlegroups.com.

To view this discussion on the web visit
Reply all
Reply to author
Forward
0 new messages