Trouble

cant set CPU frequency - does it mean dead ?

15 5413
marcyn  
Edited by marcyn at 2014-10-15 11:40

Hello all,

It seems like my precious BaPi is dead.
Few days ago I downloaded and installed Bananian, everything went great.
I managed to configure few services that I need (pppoe, vpn, httpd, vsftpd, and many more), during that I did a few reboots.
When all was finished I decided to make one more final reboot and start "production time" of my BaPi.

You can imagine what of a huge surprise it was when my BaPi didn't wake up... my screen was black, there was no green led (however red one shines /doesn't blink even once/, which means that BaPi gets power).
Hmm, so I thought that maybe something went wrong with bananian files and decided to connect my SD card to PC, make a dump of bananian to IMG file, then format SD and write clean babanian. After that .. nothing has changed.
Next I tried 3 different SD's ... same result.
So, if not SD then maybe power supply (I'm using great active usb hub made by Pluggable /3Amps/), I tried 4 different ... nothing has changed

Because I have no more ideas left, I ordered a PL2303 which shipped today.
I connected Tx, Rx and Gnd from BaPi to PL2303 and made an Putty connection.
Sadly text I saw didn't look good:
  1. U-Boot SPL 2014.04-10694-g2ae8b32 (Aug 26 2014 - 21:23:21)
  2. Board: Bananapi
  3. DRAM: 1024 MiB
  4. Failed to set core voltage! Can't set CPU frequency
  5. MMC Device 0 not found
  6. spl: mmc device not found!!
  7. ### ERROR ### Please RESET the board ###
Copy the Code
Few reboots didn't change a thing.
Does it mean my BaPi is dead ?
If so ... what the heck killed it ?
I did nothing out of ordinary (as you can see above)
marcyn  
Hi,

Today it's constantly:

  1. U-Boot SPL 2014.04-10694-g2ae8b32 (Aug 26 2014 - 21:23:21)
  2. Board: Bananapi
  3. DRAM: 1024 MiB
  4. CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
  5. MMC Device 0 not found
  6. spl: mmc device not found!!
  7. ### ERROR ### Please RESET the board ###
Copy the Code
So, it looks like suddenly BaPi knows how to set CPU frequency.
Strange ....

tkaiser  
Did you try to reset the board, leave it a few hours unpowered and tried it again?

marcyn  
tkaiser,

Firstly: thanks for an answer.

Yes, of course I tried that.
I was resetting board with Reset button many times, with plugging and unplugging power supply, and leaving the board unpowered even more then one day.

marcyn  
It looks like something went wrong with U-boot (don't know why and what coused that).
So the question is how to write correct U-boot to BaPi.

I think that OS is supposed to do that ... but if BaPi doesn't see SD, it could not ;)  ... then maybe thru UART then ?
Does someone know how to do that ?

tkaiser  
marcyn replied at 2014-10-16 02:45
It looks like something went wrong with U-boot (don't know why and what coused that).
So the questio ...

Maybe you have faulty DRAM? Compare with eg: http://www.cubieforums.com/index.php?topic=160.0

marcyn  
tkaiser,
Thank you for answer.

I saw this site (U provided) before, but didn't try to check if it is DRAM ...
I will try do some mods to sunxi_mmc.c to check it - why not ?

Meanwhile maybe someone else will give another feedback, I'm looking forward to it ;)

marcyn  
I downloaded u-boot-sunxi and changed source code of sunxi-mmc.c adding some debug stuff like patwood did (from url that tkaiser gave above).

It looks like something is wrong with DRAM, because I have from UART:
  1. U-Boot SPL 2014.04-10733-gbb5691c-dirty (Oct 16 2014 - 13:18:02)
  2. Board: BananaPi
  3. DRAM: 1024 MiB
  4. CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
  5. MMC: block number 0x641 exceeds max(0x0)
  6. spl: mmc blk read err - 0
  7. MMC: block number 0x51 exceeds max(0x0)
  8. spl: mmc blk read err - 0
  9. ### ERROR ### Please RESET the board ###
Copy the Code
sometimes (extreamly seldom) I get:
  1. U-Boot SPL 2014.04-10733-gbb5691c-dirty (Oct 16 2014 - 13:18:02)
  2. Board: BananaPi
  3. DRAM: 1024 MiB
  4. CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
  5. spl: not an uImage at 1600
Copy the Code
whitch looks good because I have only u-boot-sunxi-with-spl.bin written to my SD (there is no kernel image).

So it looks like DRAM is not stable.
I'll contact my supplier and send BaPi for warranty repair or change for a new one.

Thank you tkaiser for your support.

EOT

Before a final EOT,could you try booting over USB and see how it behaves?
The required files are in this post : http://forum.lemaker.org/forum.p ... amp;page=3#pid25217

tkaiser  
Edited by tkaiser at 2014-10-17 05:24
marcyn replied at 2014-10-16 07:30
So it looks like DRAM is not stable.
I'll contact my supplier and send BaPi for warranty repair or change for a new one.


I second sashijoseph's suggestion especially since I'm still in the process of understanding boot basics on ARM

You have to log in before you can reply Login | Sign Up

Points Rules