Beaglebone black emmc boot

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Re: Beaglebone black emmc boot

Postby ftravers » Mon Sep 09, 2013 3:15 am

isn't

setmmcroot=setenv mmcroot /dev/mmcblk0p2 rw

blk0 the sd card??? I would have thought you'd wanted to put:

mmcblk1p2

as the mmcroot??? weird.
ftravers
 
Posts: 26
Joined: Sun Jul 28, 2013 10:52 am

Re: Beaglebone black emmc boot

Postby joshblake » Wed Sep 11, 2013 3:46 am

Has there been any developments yet on this? Hate to play the 'same problem' game but I'm at a loss at what to do.

Best,

Josh.
joshblake
 
Posts: 2
Joined: Wed Sep 11, 2013 3:43 am

Re: Beaglebone black emmc boot

Postby dirtyazn » Wed Sep 11, 2013 10:16 am

$this->bbcode_second_pass_quote('ftravers', 'T')his solution 1/2 works. If you plug your SD card back in ( repartitioned by and had a clean ext4 partition ), and reboot, it'll hang... so this solution doesn't work if you want to use your SD card as extra space.

I'm not confident on what the uEnv.txt should look like, but the previous version before this one was checked into git on Aug 10th worked...if someone has that.


Plug in a SD card after it boots.
dirtyazn
 
Posts: 3
Joined: Wed Sep 11, 2013 10:14 am

Re: Beaglebone black emmc boot

Postby joshblake » Thu Sep 12, 2013 2:14 am

^^ Sorry I don't really see that as a solution or a resolution. It still requires you to have the root fs on the SD card and not eMMC (read that a clean ext4 partitioned SD card will hang the system).

Thanks for the reply though.
joshblake
 
Posts: 2
Joined: Wed Sep 11, 2013 3:43 am

Re: Beaglebone black emmc boot

Postby dirtyazn » Thu Sep 12, 2013 3:51 am

$this->bbcode_second_pass_quote('joshblake', '^')^ Sorry I don't really see that as a solution or a resolution. It still requires you to have the root fs on the SD card and not eMMC (read that a clean ext4 partitioned SD card will hang the system).

Thanks for the reply though.


Im a noob to linux and arch but I still don't see whats too hard about this. I followed the instructions and used scarpino's solution. It boots fine without a sd card in, I wait for about 30 seconds, pop the sdcard back in fdisk it to just 1 ext4 partition, mkfs it and mount it, and finally downloaded some files to it.
I dont know about booting off the emmc with the sdcard in because its quite frankly over my head.
But I attached a screenshot. Note that mmcblk0 is the emmc and mmcblk1 is the sdcard.

Image
dirtyazn
 
Posts: 3
Joined: Wed Sep 11, 2013 10:14 am

Re: Beaglebone black emmc boot

Postby ftravers » Fri Sep 13, 2013 7:14 am

@dirtyazn:

Sometimes your BBB is not on your desk, so you don't have physical access...in this (very normal) case, you can't have a user access it to push the SD card in. So fairly far from a solution IMHO :|

If anyone has the boot files from before Aug 10th... I think the uEnv.txt there works, I unfortunately deleted mine :(
ftravers
 
Posts: 26
Joined: Sun Jul 28, 2013 10:52 am

Re: Beaglebone black emmc boot

Postby dirtyazn » Fri Sep 13, 2013 9:09 am

@ftravers

From what you said above you made it seem like the SD wouldn't work at all. I don't know if my black is different but when I put an sd card in it always tries to boot from it whether I hold down the button or not. Is that a problem with the black hardware or is my black retarded or something?
dirtyazn
 
Posts: 3
Joined: Wed Sep 11, 2013 10:14 am

Re: Beaglebone black emmc boot

Postby ArchBrent » Tue Sep 17, 2013 5:23 pm

Same here - if the uSD card is inserted, the BBB attempts to boot from it, even though the Boot button has not been pressed.
ArchBrent
 
Posts: 1
Joined: Tue Sep 17, 2013 5:19 pm

Re: Beaglebone black emmc boot

Postby moosbart » Wed Sep 18, 2013 6:57 pm

booting from the sd card without pressing any button is a feature, at least as far as i understand it.
at http://www.armhf.com/index.php/boards/beaglebone-black/ they say:
$this->bbcode_second_pass_quote('', '
')The new bootloader is setup to probe the external microSD slot at boot time. If a bootable microSD is detected it will be booted instead. The result is that it is no longer necessary to hold down the USER/BOOT button at power-on to boot from microSD this way — the presence of a bootable external microSD card alone will cause it to boot. A non-bootable microSD still causes it to boot from the internal eMMC so one can be used for additional storage while booted from eMMC.

I didnt track it down completely, so it's just that I believe(!), it's the same code that appears in the archlinuxarm distro
moosbart
 
Posts: 5
Joined: Thu Aug 22, 2013 8:37 pm
Top

Re: Beaglebone black emmc boot

Postby WarheadsSE » Wed Sep 18, 2013 7:49 pm

So basically, remove MLO from the SD card if you want to boot from eMMC. However, Do NOT think that this is something you can mv and then mv back.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 6 guests