barebox on beagleboard: two questions

Robert P. J. Day rpjday at crashcourse.ca
Sun Dec 20 11:13:39 EST 2009


  one question almost certainly dumb, the second maybe not so much.

  first, using the current git pull, i:

  $ export ARCH=arm
  $ export CROSS_COMPILE=arm-linux-   (using ELDK toolchain)
  $ make omap3530_beagle_per_uart_defconfig
  $ make

eventually, copy generated "barebox.bin" to MMC/SD as u-boot.bin, and
boot beagle:

Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Loading u-boot.bin from mmc


barebox 2.0.0-rc10-dirty (Dec 20 2009 - 03:21:55)

Board: Texas Instrument's Beagle
Malloc space: 0x87bfff10 -> 0x87ffff10 (size  4 MB)
Stack space : 0x87bf7f10 -> 0x87bfff10 (size 32 kB)
running /env/bin/init...
not found
rday>       [different prompt just to prove new image}

  at that point, every single command i type gives me "Unknown
command", which may be because i haven't read all the docs and have
done nothing in terms of an environment.  i figured it was just worth
doing the trivially obvious to see what happened.

  not so trivial -- board/omap/board-beagle.c:

...
/**
 * @brief Do the SDRC initialization for 128Meg Micron DDR for CS0
 *
...
static struct device_d sdram_dev = {
        .name = "mem",
        .map_base = 0x80000000,
        .size = 128 * 1024 * 1024,
        .platform_data = &sram_pdata,
};
...

  all the newer beagles have 256M of RAM, not 128M.  does this mean my
board is being initialized improperly?  or should i be reading the
above differently?

rday
--



========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



More information about the barebox mailing list