porting on S3C24xx (ARMv4T)

25 views
Skip to first unread message

age ice iv

unread,
Jul 28, 2009, 5:49:51 AM7/28/09
to android-porting
can someone have some advice?
thanks lot!

Brian Code

unread,
Jul 28, 2009, 4:19:33 PM7/28/09
to android...@googlegroups.com
You can find an ARMv4T compatible build on http://git.koolu.org . It's
a build that's targeted for the Openmoko Freerunner.

Regards,
Brian Code

Vinay Rao

unread,
Jul 29, 2009, 1:51:11 AM7/29/09
to android...@googlegroups.com
Hi ,
Latest Android source has already support for ARMv4t architecture.
Download the latest source and cross compile for ARMv4t.
Regards,
Vinay R Rao
--
VINAY.R.RAO

Jacky

unread,
Jul 31, 2009, 11:46:16 PM7/31/09
to android-porting
I tried to use the newest compiler & source, and modified the
TARGET_ARCH_VERSION to armv4t.
A warning was occured: ARMv4t support is currently a work in progress.
It does not work right now!
Perhaps we need waiting a short time.

On Jul 29, 1:51 pm, Vinay Rao <vinayrrao1...@gmail.com> wrote:
> Hi ,
> Latest Android source has already support for ARMv4t architecture.
> Download the latest source and cross compile for ARMv4t.
> Regards,
> Vinay R Rao
>
> On 7/29/09, Brian Code <Brian.C...@koolu.com> wrote:
>
>
>
>
>
>
>
> > You can find an ARMv4T compatible build onhttp://git.koolu.org. It's
> > a build that's targeted for the Openmoko Freerunner.
>
> > Regards,
> > Brian Code
>
> > On 28-Jul-09, at 3:49 AM, age ice iv wrote:
>
> >> can someone have some advice?
> >> thanks lot!
>
> --
> VINAY.R.RAO- Hide quoted text -
>
> - Show quoted text -

androjes

unread,
Sep 19, 2009, 7:03:49 AM9/19/09
to android-porting
> Latest Android source has already support forARMv4tarchitecture.
Are you sure, I tried android-1.6 but It does not work yet!
I agree with Brian ...

Jean-Baptiste Queru

unread,
Sep 20, 2009, 1:38:30 PM9/20/09
to android...@googlegroups.com
We hadn't been able to accept community contributions into 1.6, so the
changes that had been contributed to the open-source master branch
aren't there. Changes approved and submitted before Google's internal
Eclair feature-complete deadline will be in the 2.0 "Eclair" release.

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

androjes

unread,
Sep 28, 2009, 9:07:19 AM9/28/09
to android-porting
Thanks very much for your answer but till now I can't run Android in
my board DEV2410 (http://www.pragmatec.net/catalog/product_info.php?
products_id=56&osCsid=2e82f46be064a4ab8b3a276090cafd77)!

I have ready try the method of Freerunner (http://trac.koolu.org/) but
when a run the init process, I get something like that:

1- using "init" from "/koolu-1.0/out/target/product/freerunner/root" :
Unable to handle kernel paging request at virtual address e3590000
pgd = c3e18000
[e3590000] *pgd=00000000
Internal error: Oops: 5 [#2] PREEMPT
Modules linked in:
CPU: 0 Tainted: G D (2.6.25 #1)
PC is at strlen+0x18/0x2c
LR is at kobject_get_path+0x2c/0xac
pc : [<c01c2e10>] lr : [<c01bfa2c>] psr: a0000013
sp : c3de9e30 ip : c3de9e40 fp : c3de9e3c
r10: c0419bbc r9 : 00000000 r8 : c3e36000
r7 : c0025a90 r6 : 000000d0 r5 : 00000001 r4 : c0025a90
r3 : e3590000 r2 : e3590000 r1 : 000000d0 r0 : e3590000
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: c000717f Table: 33e18000 DAC: 00000015
Process init_freerunner (pid: 1484, stack limit = 0xc3de8268)
Stack: (0xc3de9e30 to 0xc3dea000) ~ # ./init_freerunner
Unable to handle kernel paging request at virtual address e3590000
pgd = c3e18000
[e3590000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT
Modules linked in:
CPU: 0 Not tainted (2.6.25 #1)
PC is at strlen+0x18/0x2c
LR is at kobject_get_path+0x2c/0xac
pc : [<c01c2e10>] lr : [<c01bfa2c>] psr: a0000013
sp : c3de9e30 ip : c3de9e40 fp : c3de9e3c
r10: c0419bbc r9 : 00000000 r8 : c3de7000
r7 : c0025a90 r6 : 000000d0 r5 : 00000001 r4 : c0025a90
r3 : e3590000 r2 : e3590000 r1 : 000000d0 r0 : e3590000
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: c000717f Table: 33e18000 DAC: 00000015
Process init_freerunner (pid: 870, stack limit = 0xc3de8268)
Stack: (0xc3de9e30 to 0xc3dea000)
9e20: c3de9e5c c3de9e40 c01bfa2c c01c2e08
9e40: c0025a28 c3d65668 c3d65600 c3de7000 c3de9e7c c3de9e60
c01f7dd4 c01bfa10
9e60: c3d65600 c3d65668 00000000 c3c0aae0 c3de9ed4 c3de9e80
c01bff14 c01f7c30
9e80: 00000000 00000001 00000000 c3dd9dc0 c03bbc5f c03e1916
000080d0 c3dca5e0
9ea0: c040eb14 00000000 00000000 c3d65600 c3d65668 00000004
c3d65668 c0419bf0
9ec0: c3dca5f8 c3de9f78 c3de9ee4 c3de9ed8 c01c01d4 c01bfd98
c3de9f0c c3de9ee8
9ee0: c01f7fa4 c01c01d0 0001bdfc 00000000 c3e36ca0 c3d9ced4
00000004 c3dca5e0
9f00: c3de9f1c c3de9f10 c01f7924 c01f7f54 c3de9f4c c3de9f20
c00f0f90 c01f790c
9f20: c3de9f78 c3e36ca0 0001bdfc 00000004 c3de9f78 c003bc88
c3de8000 00000000
9f40: c3de9f74 c3de9f50 c00aba9c c00f0e90 c3e36ca0 00000008
00000000 00000000
9f60: c3e36ca0 00000004 c3de9fa4 c3de9f78 c00abbe4 c00ab9f0
00000000 00000000
9f80: 00000142 00000000 c3de9fa4 00000008 00020488 00000007
00000000 c3de9fa8
9fa0: c003bae0 c00abba8 00000008 00020488 00000008 0001bdfc
00000004 00009e6f
9fc0: 00000008 00020488 00000007 00000004 00000000 00000000
00000000 00000000
9fe0: ffff0fc0 be903be0 00009e81 0000bdcc 00000010 00000008
ffffffff ffffffff
Backtrace:
[<c01c2df8>] (strlen+0x0/0x2c) from [<c01bfa2c>] (kobject_get_path
+0x2c/0xac)
[<c01bfa00>] (kobject_get_path+0x0/0xac) from [<c01f7dd4>]
(dev_uevent+0x1b4/0x1dc)
r7:c3de7000 r6:c3d65600 r5:c3d65668 r4:c0025a28
[<c01f7c20>] (dev_uevent+0x0/0x1dc) from [<c01bff14>]
(kobject_uevent_env+0x18c/0x438)
r7:c3c0aae0 r6:00000000 r5:c3d65668 r4:c3d65600
[<c01bfd88>] (kobject_uevent_env+0x0/0x438) from [<c01c01d4>]
(kobject_uevent+0x14/0x18)
[<c01c01c0>] (kobject_uevent+0x0/0x18) from [<c01f7fa4>]
(store_uevent+0x60/0x70)
[<c01f7f44>] (store_uevent+0x0/0x70) from [<c01f7924>]
(dev_attr_store+0x28/0x2c)
r6:c3dca5e0 r5:00000004 r4:c3d9ced4
[<c01f78fc>] (dev_attr_store+0x0/0x2c) from [<c00f0f90>]
(sysfs_write_file+0x110/0x148)
[<c00f0e80>] (sysfs_write_file+0x0/0x148) from [<c00aba9c>]
(vfs_write+0xbc/0x13c)
[<c00ab9e0>] (vfs_write+0x0/0x13c) from [<c00abbe4>] (sys_write
+0x4c/0x7c)
r7:00000004 r6:c3e36ca0 r5:00000000 r4:00000000
[<c00abb98>] (sys_write+0x0/0x7c) from [<c003bae0>]
(ret_fast_syscall+0x0/0x2c)
r6:00000007 r5:00020488 r4:00000008
Code: e24cb004 e1a02000 ea000000 e2800001 (e5d03000)
---[ end trace 139fc6d523625489 ]---
Segmentation fault


2- using "init" from "/koolu-1.0/out/target/product/generic/root" :
"Segmentation fault "

This is my cpu featuring:

# cat /proc/cpuinfo
Processor : ARM920T rev 0 (v4l)
BogoMIPS : 100.96
Features : swp half thumb
CPU implementer : 0x41
CPU architecture: 4T
CPU variant : 0x1
CPU part : 0x920
CPU revision : 0
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format A
Cache format : Harvard
I size : 16384
I assoc : 64
I line length : 32
I sets : 8
D size : 16384
D assoc : 64
D line length : 32
D sets :
8
Hardware : DEV2410 PRAGMATEC
Revision : 0000
Serial : 0000000000000000

androjes

unread,
Sep 28, 2009, 12:19:50 PM9/28/09
to android-porting
VINAY.R.RAO> Download the latest source and cross compile for ARMv4t.

Sorry! I want to know where can I download the latest cross compile
for ARMv4t?
that is a last version of codesourcery cross compiler?
thanks
Reply all
Reply to author
Forward
0 new messages