New IT forum
30 August 2015, 05:57:18 am *
Welcome, %1$s. Please login or register.
Did you miss your activation email?

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: Booting kernels 3.2 and later  (Read 3979 times)

plgplg

  • Newbie
  • *
  • Posts: 3
Booting kernels 3.2 and later
« on: 05 February 2012, 06:06:02 pm »

If anyone is having trouble booting current kernels (hangs after the uncompress) on their DreamPlug and has an "old" version of U-Boot, please try the following.

CONFIG_EMBEDDED=y
# CONFIG_ARM_PATCH_PHYS_VIRT is not set
CONFIG_PHYS_OFFSET=0x0

This works around a U-Boot issue.

This allowed be to boot a current kernel without having to re-flash U-Boot.
Logged

dab7

  • Newbie
  • *
  • Posts: 24
Re: Booting kernels 3.2 and later
« Reply #1 on: 06 February 2012, 12:46:30 pm »

Thank you sir for resolving this.
Logged

plgplg

  • Newbie
  • *
  • Posts: 3
Re: Booting kernels 3.2 and later
« Reply #2 on: 06 February 2012, 01:29:19 pm »

Glad it has helped someone else.
I spent two evenings with a JTAG debugger and "git bisect" before I finally figured it out!
Logged

dab7

  • Newbie
  • *
  • Posts: 24
Re: Booting kernels 3.2 and later
« Reply #3 on: 06 February 2012, 10:15:08 pm »

I spent two evenings with a JTAG debugger and "git bisect" before I finally figured it out!
I wondered how you did it.
I notice that www.xilka.com has already adopted your change.
I have tested this on two different models of Dreamplug with 3.2.4 and it works OK.
Logged

plgplg

  • Newbie
  • *
  • Posts: 3
Re: Booting kernels 3.2 and later
« Reply #4 on: 06 February 2012, 11:01:38 pm »

To be fair, it is a "known" problem. It just wasn't known to me.
Once I figured out what the problem was, I found other references to it:
http://lists.denx.de/pipermail/u-boot/2012-February/117020.html
That's always how these things seem to work.
All I can do now is try to prevent other people hitting the same issue.
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!