open mini netbook
Would you like to react to this message? Create an account in a few clicks or log in to continue.
open mini netbook

open project of mini netbook, 7'' ARM netbook


You are not connected. Please login or register

Linux in ARM926EJ-S 248Mhz

+28
nicohs
ppeterka
ifdavecantfixitaintbroke
nandove
16bithovercar
kduramos
passatempo
nisma
nitro
KKM
sartrejp
1dod1
Djiff
Firestalk
styol
ap20001
peteshaw
Captainclaw
maskmark
lliont
Dick G
EnitaLQ
Admin
Paradox
lanel
nsantos
zaphod
dhay
32 posters

Go to page : Previous  1, 2, 3, 4, 5, 6  Next

Go down  Message [Page 4 of 6]

76Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Sat 9 Apr 2011 - 22:33

Oto


Master
Master

So what that it supports ARM? The anyka is CPU is different the core is ARM, but other peripherals are completely unknown.

77Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Mon 23 May 2011 - 2:38

jarvistang



Android is just starting to be built into tablets and netbook computers. At this point, only phones are really supported - I am running it on my Nexus One phone. I also run Debian Linux on embedded ARM boards I work with. It works on systems with 32-64MB of RAM so your 128M system should work very well. If the system does not have a CD/DVD player, then you should be able to install from a USB thumb drive. You can get the minimal installation disc image from here: Debian -- Network install from a minimal CD and if you don't have a CD reader, then use Unetbootin to create a live USB drive from either Windows or Linux, which you can get from here: UNetbootin, Universal Netboot Installer | Download UNetbootin, Universal Netboot Installer software for free at SourceForge.net
__________________
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!



which i find in
[You must be registered and logged in to see this link.]

while, i don't have a linux core,somebody try it.

78Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Sun 20 May 2012 - 7:53

Pog


Padawan
Padawan

Hi,

an "uncleany" way to get Linux working with Arm-WinCE is the following :
1/ have PocketDOS installed.
2/ find the Slackware Distro with umsdos file system (elderly version).
3/ have the loader loadlin.exe to load Slackware.
5/ enjoy!

79Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Mon 21 May 2012 - 12:07

Pog


Padawan
Padawan

An other safe way to run Linux on anyka devices :

1/ have a Java VM Sun compatible installed
2/ run JPC.jar, from the Java PC of the Oxford University, or from Sourceforge
3/ within the x86 PC emulator, launch DSL disto (Damn Small Linux)
5/ Enjoy ! ( but very slow )

It is also a safe way as with the above PocketDOS, because you run Linux in a Sand Box.

For people trying an Arm-Linux kernel directly, please MAKE EXTREMLY CAUTION as you are accessing the hardware diretly. Don't let your device without watch, risks known are the battery to explode or a compound making a fire in your house. This MAY happend, so your are told.

80Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Mon 21 May 2012 - 17:25

Pog


Padawan
Padawan

To play with x86 emulation with PocketDOS or JPC, the french shareware "WinImage" is very usefull to extract a kernel image from a "cdrom.iso" image,to create a cdrom iso image, or to create "file.img" images and so on. You can download freely this app.
Revive your old floppies 1.44MB of Linux to bareboot.img or ramdisk.img Smile

81Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Tue 22 May 2012 - 20:04

Pog


Padawan
Padawan

x86 emu with PocketDOS shareware for Linux hints.
*************************************************************************************************************************************
- have the OEM version of PocketDOS for Windows Mobile 2.1 or higher, it is easy to decompress on an external SD Card in a PocketDOS folder ( doesn't need of activesync from a running PC to install .cab files). Clean it up to remove Mips, SH3 and SH4 files.

- download the mini-slackware distro umsdos named ZipSlack from 50 to 100MB according to the different versions.

- set the virtual DOS machine with :
. Msdos622.img (or .ima, it is the same) you can find on the Net if you have the license, if not try to find a 6.22 FreeDOS image or other flavor of DOS but bootable ( seems DOS ver 7.10 doesn't fit)

. from PocketDOS, create a virtual disk ZipSlack.hdd at least 150MB. You will have to create a partition on this HDD from your A:>\ virtual floppy with fdisk, and format it with A:>\format C:, of course the files fdisk.exe and format.com must be on your virtual 1,44Mb floppy. Inject then with WinImage the ZipSlack distro in a Linux folder of your brand new virtual HD on your PC.

. make sur you have a x86 32 bits virtual CPU in real mode running. Take the Bochs_CPU.dll or the DOsBOX_CPU.dll (elsewhere on the net, not in PocketDOS site). The Bochs_CPU worked for me having in PocketDOS Setting/system pointing on the Bochs_CPU.dll (remove other dll files) and max memory at all types ( this setting works for me and avoid hanging).

. load the barnum and check you have eventually a 486 DOS virtual machine with chkcpu121 (Check CPU version 1.21) in real mode working.

. you can also put your SD Card in an usb key SD Card reader and reconfigure PocketDOS A: and C: to make it works.

. launch the linux kernel with linux.bat, it take a certain time to load, to decompress and to boot, be patient and watch the messages on screen to discover possible mounting points.
*************************************************************************************************************************************

Have fun !





82Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Wed 23 May 2012 - 22:20

Pog


Padawan
Padawan

x86 emu for Linux hints - part 2
********************************
if you experience geometry problems in loading the kernel, you may inject from WinImage to your SlackDisk.hdd the

Testdisk utility from Christophe Grenier, released as freeware. PocketDOS seems sometimes giving wrong Disk parameters.
***********************************************************************************************************************

83Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Thu 24 May 2012 - 15:19

Pog


Padawan
Padawan

x86 emu for Linux - comments
****************************
While the Knights have serious fun to get an Arm-distro booting the hardware, you should have fun at this point if you have mounted your root in ram or in loop.

Kernel messages like under should not be uncommon on your device :

FAT : bogus cluster size 31
UMSDOS: umsdos_read_super failed, mount aborted
sh-2021: reiserfs_read_super : can not find reiserfs on ramdisk (1,0)
Kernel panic : VFS : unable to mount root fs on 01:00









84Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Thu 24 May 2012 - 18:56

Oto


Master
Master

Even knights do not have working Anyka Linux boot distro. Sad

85Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Sat 26 May 2012 - 9:51

Pog


Padawan
Padawan

x86 emu Linux - worth to try
****************************
SkaOS 2.0 from Bodo Giannone 1,44MB floppy image at [You must be registered and logged in to see this link.]
You may perhaps get :

VFS: Mounted root (minix filesystem)
Freeing unused kernel memory: 56k freed
init started: Busybox v0.60.5 (2007.01.31-21:32+0000) multi-call binary

The ramdisk that is loaded after contains X and may crash.

According to Bodo, SkatOS is not emulator friendly aside Qemu.

86Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Mon 28 May 2012 - 7:41

Pog


Padawan
Padawan

x86 emu Linux - WARNING
***************************
Please be carefull if you plan to test a graphical environment inside PocketDOS, it may crash and you may need to reinstall WInCE, if you have it and if your device unable a reinstall.. So I would suggest for the moment to limit experiments with PocketDOS to text mode only..QNX demodisk, a real time UN*X which runs in graphical mode, seems more friendly as it gives hints for technical service when it crashes..

JPC's sandbox from Oxford is much more reliable, but the problem is to get a Java VM suitable to run it under WinCE.

87Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Mon 28 May 2012 - 17:57

Pog


Padawan
Padawan

x86 emu Linux - settings working
********************************
- have a MS-DOS 8.0 compatible floppy image to boot in PocketDOS ( I used the floppy you can create with Windows Millenium, rem before each line of the autoexec.bat file)

- create with WinImage a 2MB88 floppy where you put the following files extracted from Slackware 7.1 :
* loadlin.exe
* bzImage ( choose the bare kernel)
* umsdos.gz from the rootdisks folder
* linux.bat, containing the following line :

loadlin bzImage initrd=umsdos.gz root=/dev/ram0

( note that rw is not specified)
- check the bootsector of the 2,88 floppy to be Win95/98
- boot PocketDOS by A:, go to the 2,88 floppy by B: and type linux

You may get :

VPS: Mounted root (Minix File System)
Freeing unused kernel memory : 60k freed
INIT : version 2.76 booting
none on /proc type proc (rw)
INIT: Entering runlevel 4

log now as root Smile
cd .. to go to /
ls to list the directory and files :

bin cdrom etc lib proc sbin tmp var
boot dev floppy mnt root tag usr

You can now navigate in the directories and cat files to see their contents, and wait for the Knights to get a solution to get
Arm-Linux on your device.

Note that your ZipSlack HDD can't be seen for the moment (unable to read partition table for hda), and that loading the RAMDISK is a bit long.


88Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Tue 29 May 2012 - 7:31

Pog


Padawan
Padawan

x86 emu Linux - Slackware 8.1
=============================
Booting with A: WinME DOS 8.0 virtual floppy, going to C: your vitual HDD (partitionned and formated) with Zipslack installed, and where you have injected the following files with WinImage :

- bzImage the bare kernel
- initrd.img the ramdisk from the Isolinux directory
- linux.bat as follow : loadlin bzimage initrd=initrd.img root=/dev/ram0

you may mount an ext2 fs,and discover your environment :

cat /proc/meminfo

mem total 13MB

cat /proc/cpuinfo :

processor : 0
vendor_id : GenuineIntel
cpufamily : 4
model : 1
model name : 486 DX-50
stepping : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exeption : yes
cpuid level : 1
flags : fpu
bogomips : 0,94

Next step would be to get a Pentium MMX @ 233MHz dll and at least a 250MB mem environment !

89Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Tue 29 May 2012 - 9:26

Pog


Padawan
Padawan

x86 emu Linux - Slackware 11.0
==============================
Booting with A: WinME DOS 8.0 virtual floppy, going to C: your vitual HDD (partitionned and formated) with Zipslack installed, and where you have injected the following files with WinImage :


- initrd.img the ramdisk from the Isolinux directory
- linux.bat as follow : loadlin vmlinuz initrd=initrd.img root=/dev/ram0 (could put nousb option)

start with C:\>linux

As you can notice, the size of the RAMDISK of newer Slackware versions are over our 16MB ram environment.

90Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Tue 29 May 2012 - 14:07

Pog


Padawan
Padawan

x86 emu
=======
with Slackware 11.0, we get :

root@slackware/#ls

bin etc lost+found root tmp
boot floppy mnt sbin usr
cdrom lib nfs sys var
dev linuxrc proc tag

Note : umsdos-progs : removed in Slackware 12 since 2.6.x kernels do not support this filesystem.

I would believe that the way to get further may be to compile bochs emulator sources for the WinCE OS, as it is also possible inside Bochs to choose higher CPU. Qemu would also be of interest to setup an Arm-machine and safely testing Arm-Linux Smile

An other way could be from a living Slackware 12 or 13 install to create a booting image with a slim kernel and a very slim RAMDISK compressed image with ext2 file system as we do not have much mem under PocketDOS.

91Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Thu 31 May 2012 - 16:12

Pog


Padawan
Padawan

x86 emu
=======
Under PocketDOS environment with Slackware :

cat /dev/fd0 : nothing ! no A:\> driver !
cat /dev/fd1 : nothing ! no B:\> driver !
cat /dev/hda : nothing ! no C:\> driver !

and

ls /sys/devices/platform : nothing !

If someone is interested in writing relevant pieces of code ..

92Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Fri 8 Jun 2012 - 13:33

Pog


Padawan
Padawan

RiscOS under PocketDOS/ARM with rpcemu07d : failed Sad

BTW an ArmLinux Rom Image to boot can be found here (2.2 kernel) :

[You must be registered and logged in to see this link.]

93Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Fri 8 Jun 2012 - 14:43

Pog


Padawan
Padawan

With the above ArmLinux rom you should get something like :

Linux version 2.2.10-rmk2 (gilbertd@tardis) (gcc version 2.95 19990718 (prerelea
se)) #4 Tue Aug 3 20:40:28 BST 1999
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
parse_options:
parse_options line=montype=multi initswap=/swapfile
Console: colour dummy device 80x30
Calibrating delay loop... 104,45 BogoMIPS
Memory: 2560k/4M available (704k code, 512k reserved, 288k data, 32k init)
oldpatch: init
Probing expansion cards: (does not imply support)
1: [6969:0001] Host Filing System Access
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
Starting kswapd v 1.5
acornfb: freed 384K memory
Acornfb: 96kB DRAM, VIDC, using 640x256, 31.468kHz, 70Hz
Console: switching to colour frame buffer device 80x32
Keyboard driver v1.08. (id=1 English)
VFS: Cannot open root device 15:00
Kernel panic: VFS: Unable to mount root fs on 15:00

94Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Sat 9 Jun 2012 - 12:08

Pog


Padawan
Padawan

Download Archie, a DOS ARM Archimedes emulator :

[You must be registered and logged in to see this link.]

make it run under PocketDOS with dos4gw.exe or DOS/32A dos extender

c:\> archie
DOS/4GW Protected Mode Runtime Version 1.97
Copyright (c) Rational System, Inc. 1990-1994
DOS4GW fatal error (1307): not enough memory

or

DOS32 Fatal (4003): not enough extended memory to load application exec "c:\archie.exe

Note : the 16MB XMS environment under PocketDOS is to small Sad
If somebody know a workaround to get more XMS..

95Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Wed 13 Jun 2012 - 20:03

Pog


Padawan
Padawan

A bit of ARM emulation under x86 PocketDOS

Download ARM2 emulator for DOS :
[You must be registered and logged in to see this link.]

Download the BBC Basic V version 1.0 for ARM Second Processor :
[You must be registered and logged in to see this link.]
Rename the AB file to rbasic

Put the emulator files with the rbasic on a hdd virtual disk.
Gain acces from A:>\ C:

Type Go to launch the ARM BASIC
Type 'HELP .' to list all BASIC commands

Enjoy!

Note : as we have now an ARM emulator, next step will be to run a little bit of arm Linux on it Smile

96Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Thu 14 Jun 2012 - 7:56

Pog


Padawan
Padawan

BBC BASIC (ARM) released on ARM-based computers

BASIC v1.00
Startup: ARM BBC Basic V version 1.00 for ARM Second Processor (C) Acorn 1986
HELP message: BBC Basic V assembled on 14th April 1986
Included with: ARM CoProcessor
-----------------------------------------------------------
BASIC v1.02
Module help: BBC BASIC V 1.02 (25 Sep 1987)
Startup: ARM BBC BASIC V version 1.02 (C) Acorn 1987
HELP message: ARM BBC BASIC V assembled on 25th September 1987.
Included with: Arthur 1.20 (25 Sep 1987)
RISC OS 2.00
RISC OS 2.01
-----------------------------------------------------------
BASIC v1.05
Module help: BBC BASIC V 1.05 (10 Apr 1992)
Startup: ARM BBC BASIC V version 1.05 (C) Acorn 1989
HELP message: ARM BBC BASIC V assembled on 10th April 1992.
Included with: RISC OS 3.11 (29 Sep 1992)

BASICTrans v1.00
Module help: BASICTrans 1.00 (05 Mar 1991) English
-----------------------------------------------------------
BASIC v1.14
Module help: BBC BASIC V 1.14 (17 Nov 1994)
Startup: ARM BBC BASIC V version 1.14 (C) Acorn 1989
HELP message: ARM BBC BASIC V assembled on 17th November 1994.
Included with: RISC OS 3.60 (13 Apr 1995)

BASICTrans v2.00
Module help: BASICTrans 2.00 (13 May 1993) International
-----------------------------------------------------------
BASIC v1.22
Module help: BBC BASIC V 1.22 (21 Jun 2001)
Startup: BASIC V version 1.22 © Pace Micro Technology plc
HELP message: BASIC V assembled on 21 Jun 2001.
Included with: RISC OS 4

BASICTrans v2.01
Module help: BASICTrans 2.01 (10 Feb 1997) International
-----------------------------------------------------------

97Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Thu 14 Jun 2012 - 8:49

Pog


Padawan
Padawan

ARM2 emulator under 32bits x86 PocketDOS

As we emulate ARMv2, Basic v1.02 should be more accurate. It has to be ripped off the RISC OS 2.0 rom, copyrighted to :
[You must be registered and logged in to see this link.]
were the relevant license may be obtain for "classical RISC OS Roms".

Now trying some slim custom ARM Linux kernels..

98Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Sat 23 Jun 2012 - 9:36

Pog


Padawan
Padawan

PocketDOS troubleshooting on PC 703 WinCE 5.0 @ 266MHz
######################################################

There seems to be a mess with the five graphical modes of PocketDOS to enable system
settings, refering to my hardware Sad

Hope things are better with AK8802 WinCE 6.0

99Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Wed 27 Jun 2012 - 12:52

Pog


Padawan
Padawan

16 bits Linux ELKS (from PocketDOS Web site) on WM8505 WinCE 6.0 :

VFS: Mounted root (Minix Filesystem)
Loading init
ELKS 0.0.78
Login: root
Stand-alone shell (version 1.0)
>cd ..
>ls
CVS bin boot dev etc home mnt root tmp usr var

Doesn't fit on AK780x WinCE 5.0, the cpu.dll module is not loaded (and PocketDOS checks for a valid boot sector ELKS.DSK doesn't have)Sad
------------------------------------------------------------------------------------All this seems to mean that for ARMLinux on Anyka devices we need sharp cpu and display drivers..

100Linux in ARM926EJ-S 248Mhz - Page 4 Empty Re: Linux in ARM926EJ-S 248Mhz Thu 28 Jun 2012 - 9:37

Pog


Padawan
Padawan

Here is an image of a NetKids WM8505 running a bit of Slackware 11 under PocketDOS trying to communicate with a PC703 AK780x with PuTTY. Devices are linked by a RJ45 ethernet wire. Work in progress, I suspect them to speak chinese together when I don't watch them Smile

[You must be registered and logged in to see this link.]

Sponsored content



Back to top  Message [Page 4 of 6]

Go to page : Previous  1, 2, 3, 4, 5, 6  Next

Permissions in this forum:
You cannot reply to topics in this forum