Have anybody tried Chromium OS on PandaBoard?

822 views
Skip to first unread message

Chen Dai

unread,
Nov 9, 2011, 8:45:45 PM11/9/11
to chromium-...@chromium.org
Hi all,

I have got a PandaBoard, and I want to try ChromiumOS on it, Can anyone give me some advice?

Thanks,
Chen

Emmanuel Osei-Akoto

unread,
Nov 10, 2011, 2:18:19 AM11/10/11
to daich...@gmail.com, chromium-...@chromium.org
Hi Chen,

I'm not sure the sort of advice needed, but I'll urge you to go ahead and let us know any challenges you come across. ie if you have everything to kick start with.

Best Regards.

--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en



--
No Windows, No Gates

Sean Paul

unread,
Nov 10, 2011, 9:50:40 AM11/10/11
to Chromium OS discuss, Chen Dai
On Nov 9, 8:45 pm, Chen Dai <daich...@gmail.com> wrote:
> Hi all,
>
> I have got a PandaBoard, and I want to try ChromiumOS on it, Can anyone
> give me some advice?

Hi Chen,
I've played around with it a little. Here are some of the things I
did:

- Created a new overlay for omap4/pandaboard
- In the overlay, I added new ebuilds for u-boot (didn't use ours
since there's no vboot on pandaboard) and x-loader
- Used u-boot from git://gitorious.org/pandaboard/u-boot-mainline.git.
I didn't try upstream since I think there are bits which haven't been
upstreamed
- I had to add some patches to get USB drivers in u-boot:
- http://lists.denx.de/pipermail/u-boot/2011-May/092259.html
- http://lists.denx.de/pipermail/u-boot/2011-May/092260.html
- http://lists.denx.de/pipermail/u-boot/2011-May/092258.html
- Used x-loader from git://gitorious.org/x-loader/x-loader.git
- Used a custom boot script to boot from a USB key which was formatted
from our build_image script (script copied below)
- Grabbed kernel config from
http://elinux.org/images/c/c7/Config.2.6.38, added it to our kernel
and chose it using CHROMEOS_KERNEL_CONFIG in make.conf

Check out http://elinux.org/PandaBoard to see how the sd card should
be formatted. The SD card is used solely for the bootloaders (x-loader
& u-boot), everything else will come from a USB key created by
build_packages/build_image.

These are vague, but should get you started, let me know if you have
any questions.

Sean


boot_usb.txt u-boot script:

devtype="usb"
devnum="0"
devname="sda"
loadaddr="82000000"

rootpart="3"
cros_bootfile="/boot/vmlinux.uimg"

script_part="c"
script_img="/u-boot/boot.scr.uimg"

usb start

if fatload ${devtype} ${devnum}:${script_part} ${loadaddr} $
{script_img}; then
source ${loadaddr}
fi

bootdev_bootargs="root=/dev/${devname}${rootpart} rootwait ro"
common_bootargs="cros_legacy console=ttyO2,115200 vram=16M"
dev_extras=""
extra_bootargs=""
setenv bootargs "${common_bootargs} ${dev_extras} ${extra_bootargs} \
${bootdev_bootargs}"

if ext2load ${devtype} ${devnum}:${rootpart} ${loadaddr} $
{cros_bootfile}; then
bootm ${loadaddr}
fi

>
> Thanks,
> Chen

Chen Dai

unread,
Nov 10, 2011, 8:29:40 PM11/10/11
to Sean Paul, Emmanuel Osei-Akoto, Chromium OS discuss
Thank you very much, Sean, Emmanuel, That's very useful.

And how about GPU, how can I enable Opengles on ChromiumOS, use TI's GPU driver?

Thanks,
Chen




2011/11/10 Sean Paul <sean...@chromium.org>

Sean Paul

unread,
Nov 10, 2011, 8:39:33 PM11/10/11
to Chromium OS discuss, Chen Dai, Sean Paul, Emmanuel Osei-Akoto
On Nov 10, 8:29 pm, Chen Dai <daich...@gmail.com> wrote:
> Thank you very much, Sean, Emmanuel, That's very useful.

I hope it gives you a start, I look forward to a report on your
progress :)

>
> And how about GPU, how can I enable Opengles on ChromiumOS, use TI's GPU
> driver?

I didn't get that far. You *might* be able to use the ubuntu graphics
drivers, but I'm not certain if it'll work.

Good luck!

Sean

>
> Thanks,
> Chen
>
> 2011/11/10 Sean Paul <sean...@chromium.org>
>
>
>
>
>
>
>
> > On Nov 9, 8:45 pm, Chen Dai <daich...@gmail.com> wrote:
> > > Hi all,
>
> > > I have got a PandaBoard, and I want to try ChromiumOS on it, Can anyone
> > > give me some advice?
>
> > Hi Chen,
> > I've played around with it a little. Here are some of the things I
> > did:
>
> > - Created a new overlay for omap4/pandaboard
> > - In the overlay, I added new ebuilds for u-boot (didn't use ours
> > since there's no vboot on pandaboard) and x-loader
> > - Used u-boot from git://gitorious.org/pandaboard/u-boot-mainline.git.
> > I didn't try upstream since I think there are bits which haven't been
> > upstreamed
> >  - I had to add some patches to get USB drivers in u-boot:
> >   -http://lists.denx.de/pipermail/u-boot/2011-May/092259.html
> >   -http://lists.denx.de/pipermail/u-boot/2011-May/092260.html
> >   -http://lists.denx.de/pipermail/u-boot/2011-May/092258.html
> > - Used x-loader from git://gitorious.org/x-loader/x-loader.git
> > - Used a custom boot script to boot from a USB key which was formatted
> > from our build_image script (script copied below)
> > - Grabbed kernel config from
> >http://elinux.org/images/c/c7/Config.2.6.38, added it to our kernel
> > and chose it using CHROMEOS_KERNEL_CONFIG in make.conf
>
> > Check outhttp://elinux.org/PandaBoardto see how the sd card should

Nathaniel

unread,
Dec 15, 2011, 10:23:43 AM12/15/11
to Chromium OS discuss
Sean,

Would you be able to provide an example of your u-boot / x-loader
ebuild files? I'm a noob to chromium OS trying to build for the
Pandaboard.

On Nov 10, 8:50 am, Sean Paul <seanp...@chromium.org> wrote:


> On Nov 9, 8:45 pm, Chen Dai <daichen...@gmail.com> wrote:
>
> > Hi all,
>
> > I have got a PandaBoard, and I want to try ChromiumOS on it, Can anyone
> > give me some advice?
>
> Hi Chen,
> I've played around with it a little. Here are some of the things I
> did:
>
> - Created a new overlay for omap4/pandaboard
> - In the overlay, I added new ebuilds for u-boot (didn't use ours
> since there's no vboot on pandaboard) and x-loader
> - Used u-boot from git://gitorious.org/pandaboard/u-boot-mainline.git.
> I didn't try upstream since I think there are bits which haven't been
> upstreamed
>  - I had to add some patches to get USB drivers in u-boot:

>    -http://lists.denx.de/pipermail/u-boot/2011-May/092259.html
>    -http://lists.denx.de/pipermail/u-boot/2011-May/092260.html
>    -http://lists.denx.de/pipermail/u-boot/2011-May/092258.html


> - Used x-loader from git://gitorious.org/x-loader/x-loader.git
> - Used a custom boot script to boot from a USB key which was formatted
> from our build_image script (script copied below)

> - Grabbed kernel config fromhttp://elinux.org/images/c/c7/Config.2.6.38, added it to our kernel


> and chose it using CHROMEOS_KERNEL_CONFIG in make.conf
>

> Check outhttp://elinux.org/PandaBoardto see how the sd card should

madhu desapogu

unread,
Feb 19, 2013, 4:27:37 AM2/19/13
to chromium-...@chromium.org

madhu desapogu

unread,
Feb 19, 2013, 4:44:52 AM2/19/13
to chromium-...@chromium.org
HI All,

         I ported chromium os to amd64 system, and i am trying to port panda board,
         can any one provide me the build procedures and steps to follow.
thanks a lot.

With Regards
maddy    

madhu desapogu

unread,
Feb 26, 2013, 7:28:56 AM2/26/13
to chromium-...@chromium.org
Dear chen,

                I am trying to build packages for panda board but i am getting some errors, and following are the details,
                #./build_packages
                 i.e. Start output for job o3d-179976-r2 (0m38.5s) ===
o3d-179976-r2: >>> Emerging (1 of 1) media-plugins/o3d-179976-r2 from chromiumos for /build/panda/
o3d-179976-r2:  * Running stacked hooks for pre_pkg_setup
o3d-179976-r2:  *    sysroot_build_bin_dir ...
o3d-179976-r2:  [ ok ]
o3d-179976-r2:  * Running stacked hooks for pre_src_unpack
o3d-179976-r2:  *    python_multilib_setup ...
o3d-179976-r2:  [ ok ]
o3d-179976-r2: >>> Unpacking source...
o3d-179976-r2: >>> Unpacking o3d-svn-179976.tar.gz to /build/panda/tmp/portage/media-plugins/o3d-179976-r2/work
o3d-179976-r2: >>> Source unpacked in /build/panda/tmp/portage/media-plugins/o3d-179976-r2/work
o3d-179976-r2: >>> Preparing source in /build/panda/tmp/portage/media-plugins/o3d-179976-r2/work/o3d-179976 ...
o3d-179976-r2:  * Applying gcc-4_7.patch ...
o3d-179976-r2:  [ ok ]
o3d-179976-r2:  * Applying o3d-38135.patch ...
o3d-179976-r2:  [ ok ]
o3d-179976-r2: /build/panda/tmp/portage/media-plugins/o3d-179976-r2/temp/environment: line 2607: /home/epl-lab/depot_tools/gclient: No such file or directory
o3d-179976-r2:  * ERROR: media-plugins/o3d-179976-r2 failed (prepare phase):
o3d-179976-r2:  *   (no error message)
o3d-179976-r2:  *
o3d-179976-r2:  * Call stack:
o3d-179976-r2:  *     ebuild.sh, line  56:  Called src_prepare
o3d-179976-r2:  *   environment, line 2607:  Called die
o3d-179976-r2:  * The specific snippet of code:
o3d-179976-r2:  *       ${EGCLIENT} runhooks || die
o3d-179976-r2:  *
o3d-179976-r2:  * If you need support, post the output of 'emerge --info =media-plugins/o3d-179976-r2',
o3d-179976-r2:  * the complete build log and the output of 'emerge -pqv =media-plugins/o3d-179976-r2'.
o3d-179976-r2:  * This ebuild used the following eclasses from overlays:
o3d-179976-r2:  *   /mnt/host/source/src/third_party/chromiumos-overlay/eclass/toolchain-funcs.eclass
o3d-179976-r2:  *   /mnt/host/source/src/third_party/chromiumos-overlay/eclass/binutils-funcs.eclass
o3d-179976-r2:  * This ebuild is from an overlay named 'chromiumos': '/mnt/host/source/src/third_party/chromiumos-overlay/'
o3d-179976-r2:  * The complete build log is located at '/build/panda/tmp/portage/logs/media-plugins:o3d-179976-r2:20130226-114554.log'.
o3d-179976-r2:  * The ebuild environment file is located at '/build/panda/tmp/portage/media-plugins/o3d-179976-r2/temp/environment'.
o3d-179976-r2:  * S: '/build/panda/tmp/portage/media-plugins/o3d-179976-r2/work/o3d-179976'
o3d-179976-r2: >>> Failed to emerge media-plugins/o3d-179976-r2 for /build/panda/, Log file:
o3d-179976-r2: >>>  '/build/panda/tmp/portage/logs/media-plugins:o3d-179976-r2:20130226-114554.log'
o3d-179976-r2:
o3d-179976-r2:  * Messages for package media-plugins/o3d-179976-r2 merged to /build/panda/:
o3d-179976-r2:  * ERROR: media-plugins/o3d-179976-r2 failed (prepare phase):
o3d-179976-r2:  *   (no error message)
o3d-179976-r2:  *
o3d-179976-r2:  * Call stack:
o3d-179976-r2:  *     ebuild.sh, line  56:  Called src_prepare
o3d-179976-r2:  *   environment, line 2607:  Called die
o3d-179976-r2:  * The specific snippet of code:
o3d-179976-r2:  *       ${EGCLIENT} runhooks || die
o3d-179976-r2:  *
o3d-179976-r2:  * If you need support, post the output of 'emerge --info =media-plugins/o3d-179976-r2',
o3d-179976-r2:  * the complete build log and the output of 'emerge -pqv =media-plugins/o3d-179976-r2'.
o3d-179976-r2:  * This ebuild used the following eclasses from overlays:
o3d-179976-r2:  *   /mnt/host/source/src/third_party/chromiumos-overlay/eclass/toolchain-funcs.eclass
o3d-179976-r2:  *   /mnt/host/source/src/third_party/chromiumos-overlay/eclass/binutils-funcs.eclass
o3d-179976-r2:  * This ebuild is from an overlay named 'chromiumos': '/mnt/host/source/src/third_party/chromiumos-overlay/'
o3d-179976-r2:  * The complete build log is located at '/build/panda/tmp/portage/logs/media-plugins:o3d-179976-r2:20130226-114554.log'.
o3d-179976-r2:  * The ebuild environment file is located at '/build/panda/tmp/portage/media-plugins/o3d-179976-r2/temp/environment'.
o3d-179976-r2:  * S: '/build/panda/tmp/portage/media-plugins/o3d-179976-r2/work/o3d-179976'
o3d-179976-r2:

chromeos-chrome-27.0.1422.2_rc-r2: >>> Failed to emerge chromeos-base/chromeos-chrome-27.0.1422.2_rc-r2 for /build/panda/, Log file:
chromeos-chrome-27.0.1422.2_rc-r2: >>>  '/build/panda/tmp/portage/logs/chromeos-base:chromeos-chrome-27.0.1422.2_rc-r2:20130226-115532.log'
chromeos-chrome-27.0.1422.2_rc-r2:
chromeos-chrome-27.0.1422.2_rc-r2:  * Messages for package chromeos-base/chromeos-chrome-27.0.1422.2_rc-r2 merged to /build/panda/:
chromeos-chrome-27.0.1422.2_rc-r2:
chromeos-chrome-27.0.1422.2_rc-r2:  * CHROME_ORIGIN VALUE is SERVER_SOURCE
chromeos-chrome-27.0.1422.2_rc-r2:  * Using CHROME_VERSION = 27.0.1422.2
chromeos-chrome-27.0.1422.2_rc-r2:  * /mnt/host/source/chromite/bin/sync_chrome --tag=27.0.1422.2 --reset --gclient=/home/epl-lab/depot_tools/gclient /var/cache/chromeos-cache/distfiles/target/chrome-src
chromeos-chrome-27.0.1422.2_rc-r2:  * ERROR: chromeos-base/chromeos-chrome-27.0.1422.2_rc-r2 failed (unpack phase):
chromeos-chrome-27.0.1422.2_rc-r2:  *   (no error message)

Failed media-plugins/o3d-179976-r2 (in 0m23.9s). Your build has failed.
Pending 9/500, [Time 62m8.5s Load 2.27 3.76 5.42]
Packages failed:
    media-plugins/o3d-179976-r2
    chromeos-base/chromeos-chrome-27.0.1422.2_rc-r2
ERROR   : script called: ./build_packages '--board=panda'
ERROR   : Backtrace:  (most recent call is last)
ERROR   :   file build_packages, line 222, called: die_err_trap '[[ $# -eq 0 ]]' '1'
ERROR   :
ERROR   : Command failed:
ERROR   :   Command '[[ $# -eq 0 ]]' exited with nonzero code: 1

can any one help me.

With Regards
Maddy


On Thursday, December 15, 2011 8:53:43 PM UTC+5:30, Nathaniel wrote:

madhu desapogu

unread,
Feb 27, 2013, 7:51:53 AM2/27/13
to chromium-...@chromium.org
HI chen,

             I got stuck for build_package so can you help on this
             1)i got build failed error at media-plugins
             2)chromes-chrome-27.0.1423.1_rc-r1
            
              so please help me

BR
Maddy


On Thursday, November 10, 2011 7:15:45 AM UTC+5:30, Chen Dai wrote:

sudharsanam narasimhan

unread,
Mar 28, 2013, 1:47:30 AM3/28/13
to chromium-...@chromium.org
Hi Maddy,

I am also trying for Chromium OS on Panda Board.
If you have succeeded with your steps, Could you please share the steps so that it will be helpful for me.

Thanks in advance, 
Sudharsanam.N

sudharsanam narasimhan

unread,
May 20, 2013, 1:48:48 AM5/20/13
to chromium-...@chromium.org, nsudha...@gmail.com
Hi Chen,
I am also trying to boot Chromium OS on Panda Board. 
I was able to build image successfully using the steps mentioned in http://www.chromium.org/chromium-os/developer-guide.
I tried to follow/replicate steps mentioned in comment 3 posted on (10/11/2011) without any success.
When I try to use the bootloader after applying the mentioned patches, I get <waiting for device> as response permanently.
Maybe I am missing out something here, Can you please elaborate in detail about the steps mentioned in comment 3?

It would be very helpful if you can share me the u-boot binary!!

Regards,

madhu desapogu

unread,
Jul 31, 2013, 5:13:29 AM7/31/13
to chromium-...@chromium.org
Dear Sudharsanam,

Sorry due to other assign i did not concentrate in chromiumos porting, but recently i tried it but not succeeded,
did you ported chromium os on panda board?if yes kindly provide me the procedures.

With Regards
Maddy

Raj kumar

unread,
Nov 13, 2014, 7:55:42 AM11/13/14
to chromium-...@chromium.org
Hi all,
          DO any one have overlay directory for pandaboard, i have downloaded chrome OS source code recently, but in that source i didn't find overlay for pandaboard.

          i want to0 try it on raspberry pi also. do any one have suggestions...

thanks
raj



On Thursday, November 10, 2011 7:15:45 AM UTC+5:30, Chen Dai wrote:

Harish Hanumanthappa

unread,
Nov 13, 2014, 6:51:13 PM11/13/14
to rajkuma...@gmail.com, Chromium OS discuss
overlay for raspberry pi is available.

http://raspberrypi.stackexchange.com/questions/1578/how-do-i-install-chrome-os
> --
> --
> Chromium OS discuss mailing list: chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chromium-os-dis...@chromium.org.

Raj kumar

unread,
Nov 14, 2014, 5:05:01 AM11/14/14
to Harish Hanumanthappa, Chromium OS discuss
thanks for the reply,
                                   I have downloaded the source code. it has overlay for rpi, but for panda board its missing.



Thanks & regards,
Raj kumar Thavti,
9879026469

Harish Hanumanthappa

unread,
Nov 15, 2014, 11:00:11 PM11/15/14
to shivappa...@wipro.com, Chromium OS discuss
Here is a good opportunity for open source contribution to create
chromium os for pandaboard
Reply all
Reply to author
Forward
0 new messages