Beagleboard XM Rev C1 Problems

So, I decided to get my beagleboard out again for a new project. Last time I figured out that this was the problem:

https://groups.google.com/forum/?fromgroups=#!category-topic/beagleboard/JSolmRRrtm0

However, using Robert Nelsons’s netinstall gives me a newer kernel than the latest version of that errata kernel than is in his storage. I’m really lost as to what I should do here to get my board to boot Ubuntu 12.10, before it was just grab the errata kernel, swap out and rename the files on my boot partition then the install went fine. Now, not so much. If someone has a detailed guide on what I could do, I’d greatly appreciate it.

So the "netinstall" has a not much talked or documented about
"--deb-file" option... It's been a long time since i tested it, but it
should <fingers crossed> still work..

So what you need to do is, grab the kernel version you want from the
stable-kernel branch, enable that "emi" patch, there a documented
function call that says "enable this" in the bottom of patch.sh.. then
run "./build_deb.sh"..

then run: ./mk_mmc.sh with --deb-file *somekernel*.deb

Regards,

Ok, I checked cloned that repo and checkedout that branch. (https://github.com/RobertCNelson/stable-kernel/tree/v3.7.x)

However, I don’t see anything about emi in patch.sh

Sorry too many git branches and a failing memory..

un-comment, the third to last line in patch.sh

#sprz319_erratum

Regards,

Well, I got that done, tried to run ./build_deb.sh and here’s the last few lines it output:

scripts/git: fetching from: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
From git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable

  • branch master → FETCH_HEAD
    fatal: git checkout: updating paths is incompatible with switching branches.
    Did you intend to checkout ‘v3.X’ which can not be resolved as commit?

I didn’t realize I was going to have to build a kernel for it. I think I’m in a bit over my head on this…

Well, I got that done, tried to run ./build_deb.sh and here's the last few
lines it output:
scripts/git: fetching from:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
From git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
* branch master -> FETCH_HEAD
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'v3.X' which can not be resolved as commit?

Ah crap, that was unexpected.. SO i need to replicate this again..

What OS, I need exacts, so i can fire it up in a virtual machine, not
just "ubuntu"..

So i'm guessing you did:

git clone git://github.com/RobertCNelson/stable-kernel.git
cd stable-kernel/
git checkout origin/v3.7.x -b tmp
./build_deb.sh
(install missing packages)
./build_deb.sh

Please correct any of my assumptions, i'd like to make sure this issue
gets resolved going forward..

I didn't realize I was going to have to build a kernel for it. I think I'm
in a bit over my head on this...

Well yeah, (ignoring the ^ issue), if you want something, sometimes
you have to bulid it.. Specially with spring on way (-8F today, okay
'eventually') some of us have other hobbies during the warmer months..

Regards,

git clone https://github.com/RobertCNelson/stable-kernel.git
cd stable-kernel
git checkout -b v3.7.x
#uncommented the line in patch.sh that had sprz319_erratum mentioned
./build_deb.sh
(Missing packages)
./build_deb.sh

yeah, I’m fairly used to having to build things / follow instructions, just never had to build a kernel before.

As far as my system goes, Ubuntu 12.10 with 3.5.0-26-generic kernel, all up to date from apt. The only significantly different software on my machine is gnome3 from the gnome team’s ppa, and I have python3 as my main python. But I don’t think it’s used in your scripts. Other than that it should be a fairly standard install.

Ok, update. I used your git checkout command and it’s compiling. I got a dialog asking for kernel options, I just left it at the defaults and it’s compiling now

Ok, I built for a while then errored out with this:

INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/scsi (3 files)
INSTALL include/sound (10 files)
INSTALL include/video (3 files)
INSTALL include/xen (2 files)
INSTALL include/uapi (0 file)
INSTALL include/asm (33 files)
hostname: Name or service not known
make[1]: *** [deb-pkg] Error 1
make: *** [deb-pkg] Error 2

I tried to just get the deb file for the stable 3.7.1 from here http://rcn-ee.net/deb/quantal-armhf/v3.7.1-x5/ then use that --deb-file option then replace the files in /boot with the ones from http://rcn-ee.homeip.net:81/testing/beagleboard/sprz319-erratum-2.1-3.7.1-x5.1/ and that at least gets me to the select your language screen, but no USB so no network or keyboard, I’m headed home from work now so I’ll try it as a serial install at home.

Ok, I built for a while then errored out with this:

  INSTALL include/rdma (6 files)
  INSTALL include/scsi/fc (4 files)
  INSTALL include/scsi (3 files)
  INSTALL include/sound (10 files)
  INSTALL include/video (3 files)
  INSTALL include/xen (2 files)
  INSTALL include/uapi (0 file)
  INSTALL include/asm (33 files)
hostname: Name or service not known
make[1]: *** [deb-pkg] Error 1
make: *** [deb-pkg] Error 2

I'm suprised it couldn't find that.. I have a new VM installing so we
will see what ubuntu broke now..

http://rcn-ee.homeip.net:81/testing/beagleboard/sprz319/linux-image-3.7.10-x9_1.0cross_armhf.deb

Regards,

Thanks a ton! It’s late here so I’ll have to try it tomorrow after work, I did manage to get 3.7.1 installed using the stable deb out of your main site, the errata from your other site and the serial console, it’s finishing packages now. But I’ll toss this on a spare card tomorrow just to let you know if it works.

Ok. that worked great, it’s been running all day on that kernel. Now I suppose I’m gonna try to get the SGX driver working and some audio too… any recommended places to start on the Graphics?