Hi list!
As you can see from the patch, I made some progress with a port of Nuttx to the Calypso platform. The UART doesn't work yet. The few possible tests with just the backlight suggest that the IRQ is working. More work required but I'd like to avoid doing the work twice.
Stefan
Hi Stefan,
On Wed, May 18, 2011 at 11:39:49PM +0200, l--putt wrote:
As you can see from the patch, I made some progress with a port of Nuttx to the Calypso platform. The UART doesn't work yet. The few possible tests with just the backlight suggest that the IRQ is working. More work required but I'd like to avoid doing the work twice.
I've created a nuttx-bb.git repository on git.osmocom.org which right now only contains a git svn clone of the official Nuttx repository (as git branch "trunk").
I'd suggest you send me your ssh key and I will give you commit access to that repoisotory. The same applies for anyone who wants to work on the core calypso port.
btw, from quickly reviewing your patch: I don't think you need to import the full dsp_api header files... rather the rule should be to only import those header files and code portions which are essential for making the calypso base port work (ignoring anything gsm/l1 related for the time being).
Regards, Harald
On Thu, May 19, 2011 at 9:34 AM, Harald Welte laforge@gnumonks.org wrote:
I've created a nuttx-bb.git repository on git.osmocom.org which right now only contains a git svn clone of the official Nuttx repository (as git branch "trunk").
I have hard time checking it out :
git clone git://git.osmocom.org/nuttx-bb.git Initialized empty Git repository in /home/ddraskovic/sandbox/nuttx/nuttx-bb/.git/ remote: Counting objects: 53851, done. remote: Compressing objects: 100% (9244/9244), done. remote: Total 53851 (delta 44307), reused 53851 (delta 44307) Receiving objects: 100% (53851/53851), 12.07 MiB | 451 KiB/s, done. Resolving deltas: 100% (44307/44307), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
Any ideas ?
BR, Drasko
I've created a nuttx-bb.git repository on git.osmocom.org which right now only contains a git svn clone of the official Nuttx repository (as git branch "trunk").
I have hard time checking it out :
As Harald said, there is no master, you have to checkout trunk. Either during clone or afterwards in your directory.
On Thu, May 19, 2011 at 12:45 PM, Wolfram Sang wolfram@the-dreams.de wrote:
I've created a nuttx-bb.git repository on git.osmocom.org which right now only contains a git svn clone of the official Nuttx repository (as git branch "trunk").
I have hard time checking it out :
As Harald said, there is no master, you have to checkout trunk. Either during clone or afterwards in your directory.
How to do this ?
BR, Drasko
go where you typed git clone, then type:
git checkout trunk :-)
Sebastien
On Thu, May 19, 2011 at 3:21 PM, Drasko DRASKOVIC < drasko.draskovic@gmail.com> wrote:
On Thu, May 19, 2011 at 12:45 PM, Wolfram Sang wolfram@the-dreams.de wrote:
I've created a nuttx-bb.git repository on git.osmocom.org which right now only contains a git svn clone of the official Nuttx repository (as git branch "trunk").
I have hard time checking it out :
As Harald said, there is no master, you have to checkout trunk. Either during clone or afterwards in your directory.
How to do this ?
BR, Drasko
On Thu, May 19, 2011 at 3:52 PM, Sébastien Lorquet squalyl@gmail.com wrote:
go where you typed git clone, then type:
git checkout trunk :-)
This does not work... Or I am missing something.
Can somebody please post working set of git commands to checkout OsmocomBB NuttX port ?
BR, Drasko
git clone git://git.osmocom.org/nuttx-bb.git cd nuttx-bb git checkout -b trunk origin/trunk
This will create a local branch and allow you to work on that.
On Thu, May 19, 2011 at 4:01 PM, Drasko DRASKOVIC drasko.draskovic@gmail.com wrote:
On Thu, May 19, 2011 at 3:52 PM, Sébastien Lorquet squalyl@gmail.com wrote:
go where you typed git clone, then type:
git checkout trunk :-)
This does not work... Or I am missing something.
Can somebody please post working set of git commands to checkout OsmocomBB NuttX port ?
BR, Drasko
Sorry Drasko, I don't know why my short version worked on msysgit!
Sebastien
2011/5/19 Stanisław Wasiutyński staszek.wasiutynski@gmail.com
git clone git://git.osmocom.org/nuttx-bb.git cd nuttx-bb git checkout -b trunk origin/trunk
This will create a local branch and allow you to work on that.
On Thu, May 19, 2011 at 4:01 PM, Drasko DRASKOVIC drasko.draskovic@gmail.com wrote:
On Thu, May 19, 2011 at 3:52 PM, Sébastien Lorquet squalyl@gmail.com
wrote:
go where you typed git clone, then type:
git checkout trunk :-)
This does not work... Or I am missing something.
Can somebody please post working set of git commands to checkout OsmocomBB NuttX port ?
BR, Drasko
-- Pozdrawiam, Stanisław Wasiutyński
On Thu, May 19, 2011 at 12:29:48PM +0200, Drasko DRASKOVIC wrote:
On Thu, May 19, 2011 at 9:34 AM, Harald Welte laforge@gnumonks.org wrote:
I've created a nuttx-bb.git repository on git.osmocom.org which right now only contains a git svn clone of the official Nuttx repository (as git branch "trunk").
I have hard time checking it out :
this was due to the missing 'master' branch in the repository. I've fixed this now (master is just a copy of trunk), and it is working at leaset here.
Over time, master should be where our code is, and 'trunk' is the upstream repository.
On Thu, May 19, 2011 at 7:31 PM, Harald Welte laforge@gnumonks.org wrote:
this was due to the missing 'master' branch in the repository. I've fixed this now (master is just a copy of trunk), and it is working at leaset here.
Thanks Harald, simple git clone works now.
Best regards, Drasko
Hi,
As you can see from the patch, I made some progress with a port of Nuttx to the Calypso platform. The UART doesn't work yet. The few possible tests with just the backlight suggest that the IRQ is working. More work required but I'd like to avoid doing the work twice.
I've just add a quick look at the patch (really, just 10 min) and I have a few comments:
- I think it'd be better to progressively add support. I see for example you copied a bunch of the header over (including things that definitely cleaning like l1_environment.h and that one is probably not gonna be in the nutt-x repo anyway) - Make it a patch series adding things one by one so we can see a progress / logical path when reviewing (like 1: base structure, 2: statrup files 3: interrupts ....)
Also (unrelated to the patch), somethings that I think should be discussed/addressed soon are:
- How we will handle the boards in nuttx (including variants like US/EU version of the same phone) - How we will handle the memory zones (SRAM / SDRAM / Flash / XIP from flash (or just .rodata ?)) - How we will handle our different ram config (boot from ram / flash), can we use the loader to load part of the SDRAM if we don't fit in SRAM completely ? - Memory allocator (handling zones ...). I think that'd be something very useful. Currently we can only allocate msgb and that's a little limiting.
(nuttx may have mechanism in place already for those, I'm not sure yet)
Just my 10 cents.
Cheers,
Sylvain
baseband-devel@lists.osmocom.org