xM rev.A - RTC battery fitting

338 views
Skip to first unread message

trevj

unread,
Sep 25, 2010, 10:54:24 AM9/25/10
to Beagle Board
I know the details are in the SRM and that there have been the
following posts related to this topic...
http://groups.google.com/group/beagleboard/browse_thread/thread/618923f07e905570/
http://groups.google.com/group/beagleboard/browse_thread/thread/610d0fce9b8511e4/

... but has anyone actually successfully fitted one themselves yet?

The arrangement is tiny compared to the original board - is there
scope to improve the ease of battery fitting in a future xM revision
please?

And what would be the consequence(s) of removing the resistor but
failing to successfully fit a battery? Thanks.

trevj

unread,
Sep 25, 2010, 10:54:38 AM9/25/10
to Beagle Board

Mark Lazarewicz

unread,
Sep 26, 2010, 4:31:54 PM9/26/10
to beagl...@googlegroups.com
From
http://elinux.org/BeagleBoard#Linux_kernel I did

git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git linux-omap-2.6
cd linux-omap-2.6

Build:

make distclean
make omap3_beagle_defconfig

I got
lazarman@kerndev:~/ti-kernel/linux-omap-2.6$ make omap3_beagle_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/x86/configs/omap3_beagle_defconfig"!
***
make[1]: *** [omap3_beagle_defconfig] Error 1
make: *** [omap3_beagle_defconfig] Error 2
lazarman@kerndev:~/ti-kernel/linux-omap-2.6$



Robert Nelson

unread,
Sep 26, 2010, 4:40:27 PM9/26/10
to beagl...@googlegroups.com
On Sun, Sep 26, 2010 at 3:31 PM, Mark Lazarewicz <laza...@yahoo.com> wrote:
>
> From
> http://elinux.org/BeagleBoard#Linux_kernel I did
>
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git linux-omap-2.6
> cd linux-omap-2.6
>
> Build:
>
> make distclean
> make omap3_beagle_defconfig
>
> I got
> lazarman@kerndev:~/ti-kernel/linux-omap-2.6$ make omap3_beagle_defconfig
> HOSTCC scripts/basic/fixdep
> HOSTCC scripts/basic/docproc
> HOSTCC scripts/basic/hash
> HOSTCC scripts/kconfig/conf.o
> HOSTCC scripts/kconfig/kxgettext.o
> SHIPPED scripts/kconfig/zconf.tab.c
> SHIPPED scripts/kconfig/lex.zconf.c
> SHIPPED scripts/kconfig/zconf.hash.c
> HOSTCC scripts/kconfig/zconf.tab.o
> HOSTLD scripts/kconfig/conf
> ***
> *** Can't find default configuration "arch/x86/configs/omap3_beagle_defconfig"!
> ***

2 things, it's defaulting to x86 so make sure when you call make you
add "ARCH=arm" and in tmlind's master branch omap3_beagle_defconfig
doesn't exist anymore.. (as of like last week..)

make ARCH=arm omap2plus_defconfig

Will get basics of what you want..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Mark Lazarewicz

unread,
Sep 26, 2010, 5:57:43 PM9/26/10
to beagl...@googlegroups.com, robert...@gmail.com
Awesome. I have lots of embedded RTOS but little linux

I have some very basic questions

In Angstrom kernel I booted to verify HW

I see no apt-get no firefox, no GUI(or I dont know how to start it)

1)I am guessing this is a minimal kernel? and I need to rebuild and reconfigur what I want?

2) In embedded linux even with the apt-get installed assuming I have the network running(I have the usb->ethernet) will the apt-get install actually write any changes to the kernel on the SD or do I need to reflash a new kernel repeatedly

3)Following the HW verification instructions my Vista PC does not see any usb gadget etc to change IP to 192.168.1.5. I just changed the wired  local connection to this IP and did ifconfig usb0 192.168.1.1 255.255.2550. i can ping myself(BB)
but not the PC. I bought a crossover cable is that correct? Also I was not propmpted by Vista to install and did not point to any linux.inf

Even if I get a local link connected will I be able to connect to the internet on the BB?
4) I downloaded ARMś DS-5 eval. It allows debugging linux apps on Beagle via ethernet(via GDB?) using an eclipse IDE. It requires a kernel I have trouble getting from http://www.keil.com/support/man/docs/ds5gs/ds5gs_2sdc_windows.htm. Will the default Angstrom kernel I have running work and alloow me to connect over ethernet using GDB over ethernet to debug in the ARM IDE?

I stay in hotel my Vista laptop that I wired to BB uses a verizon broad band usb to connect. THe hotel has a wired connection also that I plug into my UBunto desktop dev machine where I will be learning to build and flash kerenel to SD

Thanks once i walk through a sucessfull kernel build and transfer to SD I should be alright

--- On Sun, 9/26/10, Robert Nelson <robert...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.


Mark Lazarewicz

unread,
Sep 26, 2010, 8:21:27 PM9/26/10
to beagl...@googlegroups.com
Almost there what is the correct argument to make?
make uImage   <---- NOTE to developers: this is WRONG. There is no "uImage" target in the Makefile.


--- On Sun, 9/26/10, Robert Nelson <robert...@gmail.com> wrote:

From: Robert Nelson <robert...@gmail.com>
Subject: Re: [beagleboard] Building a kernel
To: beagl...@googlegroups.com
Date: Sunday, September 26, 2010, 3:40 PM

Robert Nelson

unread,
Sep 26, 2010, 8:26:10 PM9/26/10
to beagl...@googlegroups.com
On Sun, Sep 26, 2010 at 7:21 PM, Mark Lazarewicz <laza...@yahoo.com> wrote:
>
> Almost there what is the correct argument to make?
>
> make uImage <---- NOTE to developers: this is WRONG. There is no "uImage" target in the Makefile.

I saw that in the wiki too... the editor that made that edit is
incorrect, but he probally was missing teh mkimage tool, hence it
failed for him

check that your have mkimage installed:
whereis mkimage

debian/ubuntu
sudo apt-get install uboot-mkimage

then...

"make ARCH=arm CROSS_COMPILE=${CC} uImage" will build the uImage...

"make ARCH=arm CROSS_COMPILE=${CC} modules_install
INSTALL_MOD_PATH=${SOME_TEMP_DIR}" will build the modules...

Mark Lazarewicz

unread,
Sep 26, 2010, 8:58:06 PM9/26/10
to beagl...@googlegroups.com, robert...@gmail.com
I just typed make its building BUT

At the risk of appearing ingnorant how does it know which crosstools I installed?
I am wondering if this is building an x86 kernel

I have only installed and built Crosstools-ng I originally had been following the Free-Electrons embedded labs. I have now decided I better abandon this and use it as a reference(I have no instructor present to answer the things they left out)

I dont see how the sequence we followed so far would point build  to use my ARM gcc in /usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin

It looks like the google.code demo link you referred me  has a better iamge to flash to the board than the hardware verification version of Angstrom?


 I will try and follow all the documentation and hope this leads to having x and KDE running I struggle configuring from coomand line but am willing to learn


Thanks for your patience you have been very helpful

Mark


--- On Sun, 9/26/10, Robert Nelson <robert...@gmail.com> wrote:

From: Robert Nelson <robert...@gmail.com>
Subject: Re: [beagleboard] Building a kernel
To: beagl...@googlegroups.com

Gerald Coley

unread,
Sep 26, 2010, 10:18:03 PM9/26/10
to beagl...@googlegroups.com
I will look at the battery when I get back from vacation in a week. Either the battery or the resistor must be installed. You cannot leave it open.

Gerald

--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.

trevj

unread,
Sep 27, 2010, 7:58:56 AM9/27/10
to Beagle Board
On Sep 27, 3:18 am, Gerald Coley <ger...@beagleboard.org> wrote:
> I will look at the battery when I get back from vacation in a week. Either
> the battery or the resistor must be installed. You cannot leave it open.

Thanks. Will look forward to learning your thoughts on this.

colinfp

unread,
Sep 27, 2010, 10:47:08 AM9/27/10
to Beagle Board
I was able to place a back up battery on my XM. Digikey was sold out
of the recommended one so I purchased 728-1054-ND instead. It is a
little bigger than the recommended one.. however, the footprint is
identical and it works great. It was a little hard to solder it in...
however, not impossible by any means. Hope that answers your question

trevj

unread,
Oct 3, 2010, 8:42:35 PM10/3/10
to Beagle Board
On Sep 27, 3:47 pm, colinfp <foeparker.co...@gmail.com> wrote:
> I was able to place a back up battery on my XM.  Digikey was sold out
> of the recommended one so I purchased 728-1054-ND instead.  It is a
> little bigger than the recommended one.. however, the footprint is
> identical and it works great.  It was a little hard to solder it in...
> however, not impossible by any means.  Hope that answers your question

Thanks. As I take it you're not a robot, that's reassuring ;-) I'll
seriously consider risking this myself some time...

bear24rw

unread,
Oct 7, 2010, 12:20:46 AM10/7/10
to Beagle Board
Does anyone have an estimate on how long the backup battery will last?
Particularly 728-1054-ND from digikey?

-Max

Søren Steen Christensen

unread,
Oct 7, 2010, 3:37:14 AM10/7/10
to beagl...@googlegroups.com
Hi Max,

> Does anyone have an estimate on how long the backup battery will last?
> Particularly 728-1054-ND from digikey?

This battery is 3.4mAh and the Backup domain in RTC state consumes 2.25uA.
Assuming you can use around 90% of the battery capacity you would have a
time of: 3.4mAh*90%/2.25uA = 1360 hours = 57 days. This being said. In case
the board is just shutdown and not properly put into RTC retention mode the
consumption is closer to 7.5uA, which would effectively put you time to
around 20 days...

Best regards
Søren

---
SSC Solutions ApS - Denmark - www.ssc-solutions.dk

Reply all
Reply to author
Forward
0 new messages