Error building SGX Modules for BeagleBoard-xM: [Ubuntu 12.10] [TI GfxSDK 4.08.00.01]

Hi Srikanth,

Was Robert Nelson’s guide easy to follow?

I tried Robert’s NetInstall method and it was making amazing install progress creating a Ubuntu Desktop until it could not get past the step where it makes it bootable. It appears to be failing when it attempts to copy some data to the EEPROM.

http://elinux.org/BeagleBoardUbuntu#Method_2:_Use_the_NetInstall_method

My goal is a BB-xM running the TI Matrix GUI application launcher, find some impressive 3D OpenGL ES demo apps, video decoding apps, and maybe create one simple Qt custom app to add to the TI Matrix GUI. I have spent over a week trying to get several images to work with the SGX without success.

Did you start with the Advanced section?

http://elinux.org/BeagleBoardUbuntu#Advanced

Thanks for any tips or advice,

-Ed

Hi Srikanth,

Was Robert Nelson's guide easy to follow?

I tried Robert's NetInstall method and it was making amazing install
progress creating a Ubuntu Desktop until it could not get past the step
where it makes it bootable. It appears to be failing when it attempts to
copy some data to the EEPROM.

http://elinux.org/BeagleBoardUbuntu#Method_2:_Use_the_NetInstall_method

Can you please share the logs under /boot/uboot/backup/

If the logs don't exist, which specific "partition setup" did you choose?

My goal is a BB-xM running the TI Matrix GUI application launcher, find some
impressive 3D OpenGL ES demo apps, video decoding apps, and maybe create one
simple Qt custom app to add to the TI Matrix GUI. I have spent over a week
trying to get several images to work with the SGX without success.

Did you start with the Advanced section?

http://elinux.org/BeagleBoardUbuntu#Advanced

Regards,

Hi Robert,

Can you please share the logs under /boot/uboot/backup/

The /boot folder is empty.

If the logs don’t exist, which specific “partition setup” did you choose?

Sorry I do not remember the choices. Perhaps if remininded what the choices were I might remember. It was single 4GB SD based. I would have picked something that sounded similar to the basic 2 partition system that the bb-xM came with. I could run it again?

Or maybe I should just move on to http://elinux.org/BeagleBoardUbuntu#Demo_Image and see if it contains any working SGX demos?

-Ed

Hi Robert,

>Can you please share the logs under /boot/uboot/backup/

The /boot folder is empty.

Then you didn't follow the directions, and ended up reformatting the
boot partition..

>If the logs don't exist, which specific "partition setup" did you choose?

Sorry I do not remember the choices. Perhaps if remininded what the
choices were I might remember. It was single 4GB SD based. I would have
picked something that sounded similar to the basic 2 partition system that
the bb-xM came with. I could run it again?

The problem is, if you selected the 2 partition setup, (which is
ubuntu's default) it will delete the first partition, which has
everything we need to finalize and make the image final.... I'm
working an override, but till then it's up to the user to 100% follow
the directions.. "Partition <Guided - use the largest continuous free

" and not touch the initial boot partition. (it'll look weird as

you'll have 2 boot partitions in the screen)..

Or maybe I should just move on to
http://elinux.org/BeagleBoardUbuntu#Demo_Image and see if it contains any
working SGX demos?

That's just the same thing as the netinstall, just packaged nicely
with a default user setup..

SGX: You release, there is nothing related to SGX we can legally
distribute as normal users, to other users. So once you install my
image, i have an SGX scritp that will 1: download, 2: build, and 3:
install those evil binaries..

http://elinux.org/BeagleBoardUbuntu#SGX_armel.2Farmhf_v3.4.x.2B

Regards,

Ed:

https://github.com/RobertCNelson/netinstall/commit/bbe87f448f78bf47b2e07c62c05b18ac5e0aaa23

This "should" fix it now.. It's auto-filling the partition table..
still testing right now before i push it back to pre quantal
versions.. So its now harder for someone to make the disk
non-bootable.. (fingers crossed)

Regards,

Hi Robert,

Thank you for taking the time to explain and provide a more newbie-proof option.

I ran your build_kerne.sh script for the Beagleboard.

http://elinux.org/BeagleBoardUbuntu#Demo_Image

git clone git://github.com/RobertCNelson/stable-kernel.git
cd stable-kernel
git checkout origin/v3.6.x -b v3.6.x
./build_kernel.sh

What a magical script! It sucked down the Linux kernel source and was happy gitting, downloading, and building for hours.
I expected it to quit and bail with some typically cryptic error or missing dependency complaint. Instead it ran to completion without fail!

Other SDKs such us Arago made me download the CodeSourcery Toolchain and tell it where it was installed.
With 4 command lines your scripts did everythingl.

How did it get a cross-compiler? Did it download the source and build it?
Amazing work! Thank you!

-Ed
Host: Ubuntu 10.04 LTS
Targets: BeagleBoard-xM and Z3-DM8168-RPS-LITE

Robert,

Is there a similar build process for the BeagleBone?

Well, it's just the result of 2-3 years of feedback from this
beagleboard.org community. Even thou it is setup out of the box for
new users with no experience, you can still tweak it to choose your
own ARM Cross Compiler and a few other knobs.. Also every commit is
build tested with jenkins
http://rcn-ee.homeip.net:8080/job/github_stable-kernel/ so i easly
track regressions..

Right now, it just uses Linaro's pre-built arm gcc compiler..
Which have been pretty reliable..
https://launchpad.net/linaro-toolchain-binaries

Regards,

It's in a different repo..

git clone git://github.com/RobertCNelson/linux-dev.git
cd linux-dev
git checkout origin/am33x-v3.2 -b am33x-v3.2
./build_kernel.sh

Which is essentially retired, as i'm working on the am33x-v3.7 branch,
which isn't ready..

One example report: https://github.com/RobertCNelson/linux-dev/issues/8

Regards,

One other question:

root@T61:~/projects/skybox/ubuntu/linux-am33x# git describe
v3.2_AM335xPSP_04.06.00.08
root@T61:~/projects/skybox/ubuntu/linux-am33x# make kernelversion
3.2.0

So I am at 3.2.0 and need to get to 3.2.21. Are those patches to get to 3.2.1, 3.2.2, etc from the main kernel.org sources or should they come from Aragon? And if from Aragon, do they maintain patches for each revision up to 3.2.21?

Thanks in advance