Re: is ARMv4T deprecated?

Sergiy Kibrik <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <[email protected]>
On 4/6/15 6:32 PM, Waldemar Brodkorb wrote:
> Hi,
> Sergiy Kibrik wrote,
> 
>> hi All,
>> Recently I've been trying to use uClibc for quite old arm920t-based
>> board. Some busybox applications (like shell, mount, hostname, wget)
>> would get killed with SIGILL. I managed to debug it down to leaving
>> memcpy() routine, namely to the following code from
>> libc/string/arm/memcpy.S:
>>
>> [..]
>> .thumb_func
>> memcpy:
>> 	push	{r0, lr}
>> 	bl	_memcpy
>> 	POP_RET
>> [..]
>>
>> POP_RET defined as pop {r2, pc} in [1]. On armv4t is just won't switch
>> CPU back to arm mode, so in my case it seems to be jumping to calling
>> arm routine while still being in thumb mode.
>>
>> I'm not sure if this is the case, but I've also found couple of comments
>> in code:
>> http://git.uclibc.org/uClibc/tree/ldso/ldso/arm/resolve.S#n62
>> http://git.uclibc.org/uClibc/tree/libc/sysdeps/linux/arm/crtn.S#n10
>>
>> stating that some parts aren't even supposed to work on armv4t.
>> Has armv4t been deprecated for good (I use master branch currently)?
>> Thanks.
> 
> Does it work with uClibc 0.9.33 release?

didn't actually tried 0.9.33, as I used yocto 1.7 to build rootfs, it
fetches uclibc from master only

> What board is this?

it's Netronix eb600 (e-book reader), based on samsung s3c2440 SoC

> Are you tried running thumb-only?
> 

no, but I tried running ARM-only, and it seems to be working (though I
didn't run any tests)

--
regards,
Sergey

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc
signature.asc (application/pgp-signature, 361 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iJwEAQECAAYFAlUi1kIACgkQDcLhAeYaZvgGYAQAgomlzlo9Ngnevwfl6STSMEYf
3M21r/ik/dJYPeCZgjwpSRAREF5UxAYTGqq6zcoWR8qf4KnA5iGXIi1iopsRGvoT
Xy9QXm2PcruOP4rFn8u/sOxeRreCb63G5VWDH6b8xxaMPUKcfheyFzyy5yLw0ogP
aKHoGIVVBFo+X+HvsAo=
=MAKd
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.