maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Question] Chroot Armel in ARM environment. (https://talk.maemo.org/showthread.php?t=74471)

aligatro 2011-06-29 19:51

[Question] Chroot Armel in ARM environment.
 
I understand that n900 is armel, but tegra 2 is ARM. Is there anyway to run armel stuff chrooted in arm environment? I would love to have maemo on my tablet. I tried to chroot into rootfs from firmware bin file, but it fails. (obviously) How hard is to port from ARMEL to ARM? Is simple recompile for correct architecture would be enough? Also, what parts(source) of Maemo are available to us?

Google is not really helpful with armel -> arm chroot.

lma 2011-06-29 20:53

Re: [Question] Chroot Armel in ARM environment.
 
You don't say what your "environment" is, but In short: yes, and you probably don't even need to chroot. The term "armel" refers simply to ARM in little-endian mode (the ARM architecture is bi-endian).

aligatro 2011-07-08 04:34

Re: [Question] Chroot Armel in ARM environment.
 
Are you saying that arm cpus can support both modes (same chip)?

Fabry 2011-07-10 11:04

Re: [Question] Chroot Armel in ARM environment.
 
YES it is so.

An ARM Cpu can work in Big Endian and in Little Endian.
On some recent ARM cpu you can choose/change the desired mode with a control bit on cpu's status register while on more older ARM Cpu the endianness of system is determined by circuitry that connects cpu to its peripheral components


All times are GMT. The time now is 16:28.

vBulletin® Version 3.8.8