Re: [beagleboard] Beagleboard stopped loading from mmc

380 views
Skip to first unread message

Robert Nelson

unread,
Apr 11, 2013, 8:55:57 AM4/11/13
to beagl...@googlegroups.com
> U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)
>
> ubuntu-12.10-console-armhf-2013-03-28

Not sure what you actually changed either, as it was working before..

So first, since you have a C4, please upgrade your bootloader, follow
the directions here:

http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot

After upgrading the nand, verify that your C4 still boots with NO sd
card installed and it's running u-boot v2013.01... Then rerun the
"setup_sdcard.sh" from ubuntu-12.10-console-armhf-2013-03-28 and it
should boot just fine with the SD card.

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

netem...@gmail.com

unread,
Apr 11, 2013, 3:33:00 PM4/11/13
to beagl...@googlegroups.com
Thanks for your help. I followed the instructions (without doing a nand-erase)  however even the native image is hanging now. Upon pressing the user button before power ON, I saw weird characters 40W weird characters. This is the same thing that I saw before..  I tried it twice then let it boot from the flash and pressed the user button during the countdown. It perfomed some nand erase...followed by lot of messages.. Bad CRC did not compare. Now when I try to boot even without SD card.. it  shows the new bootloader but hangs after saying Uncompressing Linux........... Following are the messages
 
 
U-Boot SPL 2013.01.01-00006-gef50daa (Feb 01 2013 - 11:44:58)                  
                                                                               
                                                                               
U-Boot 2013.01.01-00006-gef50daa (Feb 01 2013 - 11:44:58)                      
                                                                               
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz                  
OMAP3 Beagle board + LPDDR/NAND                                                
I2C:   ready                                                                   
DRAM:  256 MiB                                                                 
NAND:  512 MiB                                                                 
MMC:   OMAP SD/MMC: 0                                                          
*** Warning - bad CRC, using default environment                               
                                                                               
In:    serial                                                                  
Out:   serial                                                                  
Err:   serial                                                                  
Beagle Rev C4                                                                  
timed out in wait_for_pin: I2C_STAT=0                                          
No EEPROM on expansion board                                                   
timed out in wait_for_pin: I2C_STAT=0                                          
No EEPROM on expansion board                                                   
Die ID #02980004000000000403951c08002010                                       
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 1.400                                             
musb-hdrc: setup fifo_mode 4                                                   
musb-hdrc: 28/31 max ep, 16384/16384 memory                                    
USB Peripheral mode controller at 480ab000 using PIO, IRQ 0                    
Net:   usb_ether                                                               
Hit any key to stop autoboot:  0                                               
Card did not respond to voltage select!                                        
mmc0(part 0) is current device                                                 
Card did not respond to voltage select!                                        
Booting from nand ...                                                          
                                                                               
NAND read: device 0 offset 0x280000, size 0x400000                             
 4194304 bytes read: OK                                                        
## Booting kernel from Legacy Image at 80200000 ...                            
   Image Name:   Angstrom/2.6.32/beagleboard                                   
   Image Type:   ARM Linux Kernel Image (uncompressed)                         
   Data Size:    3203048 Bytes = 3.1 MiB                                       
   Load Address: 80008000                                                      
   Entry Point:  80008000                                                      
   Verifying Checksum ... OK                                                   
   Loading Kernel Image ... OK                                                 
OK                                                                             
                                                                               
Starting kernel ...                                                            
                                                                               
Uncompressing Linux...........................................................

Robert Nelson

unread,
Apr 11, 2013, 3:38:47 PM4/11/13
to beagl...@googlegroups.com
On Thu, Apr 11, 2013 at 2:33 PM, <netem...@gmail.com> wrote:
> Thanks for your help. I followed the instructions (without doing a
> nand-erase) however even the native image is hanging now. Upon pressing the
> user button before power ON, I saw weird characters 40W weird characters.
> This is the same thing that I saw before.. I tried it twice then let it
> boot from the flash and pressed the user button during the countdown. It
> perfomed some nand erase...followed by lot of messages.. Bad CRC did not
> compare. Now when I try to boot even without SD card.. it shows the new
> bootloader but hangs after saying Uncompressing Linux........... Following
> are the messages

Well of course it's "hanging"..

Post 2.6.35 we moved to use "ttyO2" by default for the serial port
device id. The "old/ancient" 2.6.32 is expecting "ttyS2".. So u-boot
is telling the 2.6.32 kernel to redirect the console to /dev/ttyO2
which doesn't exist in 2.6.32...

Based on your original email and intent to run
"ubuntu-12.10-console-armhf-2013-03-28" the NAND is now setup to run
that.

If you truly wanted to use the old 2.6.32, you should have mentioned it..

Robert Nelson

unread,
Apr 11, 2013, 3:43:27 PM4/11/13
to beagl...@googlegroups.com
On Thu, Apr 11, 2013 at 2:38 PM, Robert Nelson <robert...@gmail.com> wrote:
> On Thu, Apr 11, 2013 at 2:33 PM, <netem...@gmail.com> wrote:
>> Thanks for your help. I followed the instructions (without doing a
>> nand-erase)

btw: you might need to do a nand erase, as moving directly from
u-boot: 2011.03-rc1 -> 2013.01 has never been tested by me.. (I only
test the step increments, u-boot: v2012.07 -> v2012.10 -> v2013.01
etc...) and there has been ALOT of changes for NAND/MMC etc..

Robert Nelson

unread,
Apr 11, 2013, 3:50:26 PM4/11/13
to beagl...@googlegroups.com
On Thu, Apr 11, 2013 at 2:43 PM, Robert Nelson <robert...@gmail.com> wrote:
> On Thu, Apr 11, 2013 at 2:38 PM, Robert Nelson <robert...@gmail.com> wrote:
>> On Thu, Apr 11, 2013 at 2:33 PM, <netem...@gmail.com> wrote:
>>> Thanks for your help. I followed the instructions (without doing a
>>> nand-erase)
>
> btw: you might need to do a nand erase, as moving directly from
> u-boot: 2011.03-rc1 -> 2013.01 has never been tested by me.. (I only
> test the step increments, u-boot: v2012.07 -> v2012.10 -> v2013.01
> etc...) and there has been ALOT of changes for NAND/MMC etc..

The oldest i had was 2012.07

The re-flashing should look like this:
http://pastebin.com/cy152UxR

netem...@gmail.com

unread,
Apr 11, 2013, 9:51:56 PM4/11/13
to beagl...@googlegroups.com
Thanks again and sorry for the confusion. I did not really want to use the old image and did not know that its old. I got the board only a few days ago and seems like it got shipped with a very old image.  I realized after reading your second response that the Ubuntu image would now work from the SD card and it is indeed working from that. I also did a nand erase 260000 20000 and then attempted to  re-flash, however if I press the power button it still shows **40W*** and only accepts it after it is done reading the boot loader  and then generates similar message.. Do I need to do a complete erase ? I am still not sure why its showing 40W if power button is pressed from the beginning.. Do I have to format the MMC again before running the flasher script ?

Robert Nelson

unread,
Apr 11, 2013, 9:59:45 PM4/11/13
to beagl...@googlegroups.com
On Thu, Apr 11, 2013 at 8:51 PM, <netem...@gmail.com> wrote:
> Thanks again and sorry for the confusion. I did not really want to use the
> old image and did not know that its old. I got the board only a few days ago
> and seems like it got shipped with a very old image. I realized after
> reading your second response that the Ubuntu image would now work from the
> SD card and it is indeed working from that. I also did a nand erase 260000
> 20000 and then attempted to re-flash, however if I press the power button
> it still shows **40W*** and only accepts it after it is done reading the
> boot loader and then generates similar message.. Do I need to do a complete
> erase ? I am still not sure why its showing 40W if power button is pressed
> from the beginning.. Do I have to format the MMC again before running the
> flasher script ?

40W is a response from the BootRom indicating it didn't find anything
it was looking for:

So just go thru the directions again:
http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot

1: Plug Serial Cable in and Start Serial terminal program
2: Place MMC card in Beagle
3: Push and hold the user button
4: Plug-in power
5: Wait for U-Boot countdown to finish, and let off user button
6: Wait for flashing/script to end
7: Power down, remove and reformat MMC card to final OS

It'll look like:
http://pastebin.com/eX6TG8kP

kabhi...@gmail.com

unread,
Jun 2, 2016, 3:44:43 PM6/2/16
to BeagleBoard
 
So first, since you have a C4, please upgrade your bootloader, follow
the directions here:

http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot


http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot

Many tutorials and instructions refer to this page but the instructions seem to have moved.
Can someone please post a fresh link?
Reply all
Reply to author
Forward
0 new messages