Hey folks, I got my Pirelli DPL10 yesterday and was able to get hello world, rssi, layer1 etc up and working pretty easily. It's quite a bit easier than the other phones I was trying to use with my RaspberryPi.
I was wondering if someone could give me a nudge on how to get started getting nuttx working on this phone?
Also I'd like to ask if there are directions somewhere on how to save the standard software presently on the phone so I can restore it later. I looked at osmoload but didn't quite understand what to do. finfo seemed to come back with all zeros for information and I confirmed that ping received a pong from the phone.
My goal is to work towards using osmocom/nuttx to make this phone my daily use phone.
Thanks, Craig
Hi Craig,
On 4/5/13, Craig Comstock craig_comstock@yahoo.com wrote:
I was wondering if someone could give me a nudge on how to get started getting nuttx working on this phone?
I never tested it on Pirelli phone, but since it is same baseband as GTA phones, you just need to use:
$ cd nuttx/tools $ ./configure.sh compal_e88/nsh_highram $ cd .. $ make
Then upload nuttx.bin using chainload.compalram.bin as explained here:
http://bb.osmocom.org/trac/wiki/nuttx-bb/configurations
Keep in mind the main development platform for nuttx-bb is C155 (compal_e99).
If you need help, please enter in IRC channel ##nuttx-bb (irc.freenode.net).
More info: http://bb.osmocom.org/trac/wiki/nuttx-bb
Best Regards,
Alan
I followed the steps you mentioned Alan and when loading I do the following:
~/workspace/osmocom-bb/src/host/osmocon$ ./osmocon -p /dev/ttyUSB0 -m romload ../../target/firmware/board/compal_e88/chainload.compalram.bin -c nuttx.bin got 2 bytes from modem, data looks like: 3e 69 >i Received ident ack from phone, sending parameter sequence read_file(../../target/firmware/board/compal_e88/chainload.compalram.bin): file_size=4378, hdr_len=0, dnload_len=4381 Received parameter ack from phone, starting download Finished, sent 5 blocks in total Received branch ack, your code is running now!
Hit Ctrl-C and try minicom, no data or response to input in minicom. No change in screen either.
The load happens very fast so I wonder if it is even really working?
I can load the standard osmocom apps fine.
-Craig
________________________________ From: Alan Carvalho de Assis acassis@gmail.com To: Craig Comstock craig_comstock@yahoo.com Cc: "baseband-devel@lists.osmocom.org" baseband-devel@lists.osmocom.org Sent: Friday, April 5, 2013 12:24 PM Subject: Re: Pirelli DPL10 - nuttx and dump flash for restore later
Hi Craig,
On 4/5/13, Craig Comstock craig_comstock@yahoo.com wrote:
I was wondering if someone could give me a nudge on how to get started getting nuttx working on this phone?
I never tested it on Pirelli phone, but since it is same baseband as GTA phones, you just need to use:
$ cd nuttx/tools $ ./configure.sh compal_e88/nsh_highram $ cd .. $ make
Then upload nuttx.bin using chainload.compalram.bin as explained here:
http://bb.osmocom.org/trac/wiki/nuttx-bb/configurations
Keep in mind the main development platform for nuttx-bb is C155 (compal_e99).
If you need help, please enter in IRC channel ##nuttx-bb (irc.freenode.net).
More info: http://bb.osmocom.org/trac/wiki/nuttx-bb
Best Regards,
Alan
Hi,
On 06.04.2013 05:38, Craig Comstock wrote:
I followed the steps you mentioned Alan and when loading I do the following:
~/workspace/osmocom-bb/src/host/osmocon$ ./osmocon -p /dev/ttyUSB0 -m romload ../../target/firmware/board/compal_e88/chainload.compalram.bin -c nuttx.bin
Well, chainload won't work for the Pirelli DP-L10 because it already uses the romloader. This also means you need to load an image linked for the highram-environment, not compalram.
Regards, Steve
I did get this working on the DPL10 by enabling IRDA console.
I did it two ways: copying nuttx/configs/compal_e88 to nuttx/configs/pirelli_dpl10 and editing nsh_highram/defconfig and after reading more carefully just using compal_e88 and editing nuttx/.config
CONFIG_SERIAL_IRDA_CONSOLE=y
maybe I could submit a patch that made a new directory for pirelli_dpl10 that matches compal_e88 but has IRDA console enabled?
now on to other things... like layer 1/2, graphics... -Craig
________________________________ From: Alan Carvalho de Assis acassis@gmail.com
To: Craig Comstock craig_comstock@yahoo.com Cc: "baseband-devel@lists.osmocom.org" baseband-devel@lists.osmocom.org Sent: Friday, April 5, 2013 12:24 PM Subject: Re: Pirelli DPL10 - nuttx and dump flash for restore later
Hi Craig,
On 4/5/13, Craig Comstock craig_comstock@yahoo.com wrote:
I was wondering if someone could give me a nudge on how to get started getting nuttx working on this phone?
I never tested it on Pirelli phone, but since it is same baseband as GTA phones, you just need to use:
$ cd nuttx/tools $ ./configure.sh compal_e88/nsh_highram $ cd .. $ make
Then upload nuttx.bin using chainload.compalram.bin as explained here:
http://bb.osmocom.org/trac/wiki/nuttx-bb/configurations
Keep in mind the main development platform for nuttx-bb is C155 (compal_e99).
If you need help, please enter in IRC channel ##nuttx-bb (irc.freenode.net).
More info: http://bb.osmocom.org/trac/wiki/nuttx-bb
Best Regards,
Alan
Hi Craig,
Yes, creating a new board config to pirelli_dp10 is the right thing to do.
Patches are welcome!
Best Regards,
Alan
On 5/2/13, Craig Comstock craig_comstock@yahoo.com wrote:
I did get this working on the DPL10 by enabling IRDA console.
I did it two ways: copying nuttx/configs/compal_e88 to nuttx/configs/pirelli_dpl10 and editing nsh_highram/defconfig and after reading more carefully just using compal_e88 and editing nuttx/.config
CONFIG_SERIAL_IRDA_CONSOLE=y
maybe I could submit a patch that made a new directory for pirelli_dpl10 that matches compal_e88 but has IRDA console enabled?
now on to other things... like layer 1/2, graphics... -Craig
From: Alan Carvalho de Assis acassis@gmail.com
To: Craig Comstock craig_comstock@yahoo.com Cc: "baseband-devel@lists.osmocom.org" baseband-devel@lists.osmocom.org Sent: Friday, April 5, 2013 12:24 PM Subject: Re: Pirelli DPL10 - nuttx and dump flash for restore later
Hi Craig,
On 4/5/13, Craig Comstock craig_comstock@yahoo.com wrote:
I was wondering if someone could give me a nudge on how to get started getting nuttx working on this phone?
I never tested it on Pirelli phone, but since it is same baseband as GTA phones, you just need to use:
$ cd nuttx/tools $ ./configure.sh compal_e88/nsh_highram $ cd .. $ make
Then upload nuttx.bin using chainload.compalram.bin as explained here:
http://bb.osmocom.org/trac/wiki/nuttx-bb/configurations
Keep in mind the main development platform for nuttx-bb is C155 (compal_e99).
If you need help, please enter in IRC channel ##nuttx-bb (irc.freenode.net).
More info: http://bb.osmocom.org/trac/wiki/nuttx-bb
Best Regards,
Alan
baseband-devel@lists.osmocom.org