Author Topic: Bitbake: How To Download Source Code?  (Read 6530 times)

sbala04

  • Newbie
  • *
  • Posts: 5
    • View Profile
Bitbake: How To Download Source Code?
« on: April 02, 2005, 04:34:47 am »
I have a question about OE/Bitbake. I was reading the getting started and would like to first let bitbake download source code for say "opie-image". Is this possible?

The page says if I use the command "bitbake opie-image" not only it will build the entire opie image, but also I would need 35Gig of free space.

IF you guys have any other way to get source code for OZ(Collie) let me know...

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Bitbake: How To Download Source Code?
« Reply #1 on: April 02, 2005, 04:40:17 am »
Bitbake downloads the source as it goes along - it downloads the source required for a single package, then builds and packages it, then moves onto the next.

35GB is not required for a bitbake opie-image - for a bitbake world perhaps.

If you just want to download the source, you can tell bitbake to just perform the download step. The exact command escapes me (look on the OE mailing list) but it's something along the lines of:

bitbake -c fetch opie-image


Si
« Last Edit: April 02, 2005, 04:41:28 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Bitbake: How To Download Source Code?
« Reply #2 on: April 02, 2005, 06:22:31 am »
bitbake opie-image is about 3-5GB IIRC
Webmaster of hentges.net & Embedded Linux Developer.

sbala04

  • Newbie
  • *
  • Posts: 5
    • View Profile
Bitbake: How To Download Source Code?
« Reply #3 on: April 04, 2005, 01:47:22 am »
Thanks a lot!

The command is indeed -cfetch. Unfortunately mine stopped working while fetching mtd! I need to look at why and try to add more mirrors I guess. Anybody facing download problems of late?

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Bitbake: How To Download Source Code?
« Reply #4 on: April 04, 2005, 02:19:10 am »
my kernel cross compiling stuff seems to have gone south.. but I get all the sources ok it seems
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf