Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-29 Thread lee jones
Just to let everyone know I've now managed to get onto the efika power
developer forums, put up a post here;

http://www.powerdeveloper.org/forums/viewtopic.php?p=15124#15124

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-11 Thread lee jones
Hello all :) ,

Just to let everyone know I've put up some files for the efika
mx/smartbook/armedslack (does not include X!) can be found here ;

http://andy29uk.no-ip.org/www/armedslack-efika-mx-smartbook/

I did get X to work with the vesa driver earlier but it was really slow.
Crux linux seems to have it working though so I'm going to try to find out
how they did it!

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-04 Thread Ottavio
On 3 September 2011 17:34, Ottavio pr0f3ss0r1...@yahoo.com wrote:

  the mx smartbook needs its down driver called xf86-video-imx
  which would need to be compiled from scratch

If you want to try yopur hand at it:
http://gitorious.org/xf86-video-imx


  Again I'm guessing here but that needs lots of other
  libraries which need to be built (e.g. libz160bin) and other libraries

I am not sure if this is what you are lloking for but the driver
libz160.so.1.0 is here:
http://packages.efikamx.info/pool/main/libz/libz160/

You'd have to convert it to a slackware package though

--
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-04 Thread Ottavio
On 4 September 2011 23:37, Ottavio pr0f3ss0r1...@yahoo.com wrote:
 On 3 September 2011 17:34, Ottavio pr0f3ss0r1...@yahoo.com wrote:

  the mx smartbook needs its down driver called xf86-video-imx
  which would need to be compiled from scratch

 If you want to try yopur hand at it:
 http://gitorious.org/xf86-video-imx


  Again I'm guessing here but that needs lots of other
  libraries which need to be built (e.g. libz160bin) and other libraries

 I am not sure if this is what you are lloking for but the driver
 libz160.so.1.0 is here:
 http://packages.efikamx.info/pool/main/libz/libz160/

 You'd have to convert it to a slackware package though


More stuff (both binary and source) is here:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53_SWparentCode=IMX53QSBfpsp=1

You need an account with Freescale. I don't know how long it takes, I
haven't tried. Good luck!

-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-03 Thread lee jones
 Have you got network and Xorg running? Can you add some screenshots?

I just about have networking (wlan) working right now with wpa_supplicant
and dhcpcd. Not tried anything else yet though. X will be compilcated. Not
much to see in screenshots right now apart from the command line!

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-03 Thread lee jones
On Sat, Sep 3, 2011 at 10:10 AM, lee jones slothp...@gmail.com wrote:


  Have you got network and Xorg running? Can you add some screenshots?

 I just about have networking (wlan) working right now with wpa_supplicant
 and dhcpcd. Not tried anything else yet though. X will be compilcated. Not
 much to see in screenshots right now apart from the command line!

 ljones



Some good news and bad news.

Good news? I can now say after installing alsa that the sound works.
Thinking that after installing alsa I'd need to run alsaconf  - alsaconf
dosen't seem to run correctly (I get error message such as modinfo: could
not find module snd) however it appears it didn't need to be run in the
first place as the sound seems to be working anyway. I tired installing
mpg123 and also libtool (it needed it) and tired to play an mp3, which
worked. Also alsamixer seems to be working.

The bad news is X, I'm afraid. From what I'm reading (and I'm not 100% on
any of this) the mx smartbook needs its down driver called xf86-video-imx
which would need to be compiled from scratch, though it dosen't provide any
2d acceleration for X. Again I'm guessing here but that needs lots of other
libraries which need to be built (e.g. libz160bin) and other libraries, some
of which may be propietary(!).

I'm trying to infer some of this from this post -
http://www.powerdeveloper.org/forums/viewtopic.php?t=1870postdays=0postorder=ascstart=0

..so for now, X is impossible right now.

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-03 Thread Ottavio
On 3 September 2011 13:26, lee jones slothp...@gmail.com wrote:
 The bad news is X, I'm afraid. From what I'm reading (and I'm not 100% on
 any of this) the mx smartbook needs its down driver called xf86-video-imx
 which would need to be compiled from scratch, though it dosen't provide any
 2d acceleration for X. Again I'm guessing here but that needs lots of other
 libraries which need to be built (e.g. libz160bin) and other libraries, some
 of which may be propietary(!).

 I'm trying to infer some of this from this post -
 http://www.powerdeveloper.org/forums/viewtopic.php?t=1870postdays=0postorder=ascstart=0

I have applied for an account on powerdeveloper.org and yet not
granted one. This is the only think that keeps me from buying the
Genesi smartbook. It's a nice little pet and I would be happy to run
Armedslack in chroot for the time being.

-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-03 Thread lee jones
 I have applied for an account on powerdeveloper.org and yet not
 granted one. This is the only think that keeps me from buying the
 Genesi smartbook. It's a nice little pet and I would be happy to run
 Armedslack in chroot for the time being.

 --
 Ottavio



Tried registering there myself on their forums just over a week ago now, got
the same result not yet granted one.

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-02 Thread lee jones
Some more intresting news. This time I can report more success :) !

I was just poking about on the internet, when I turned up this;
http://crux-arm.nu/SupportedDevices/EfikaMX-SmartTop

Apparently crux linux can run on the smarttop (think very much like the
efika mx smartbook but with no screen and uses even less power!) and they
have a link there to a kernel and modules. Those are;

http://crux-arm.nu/files/devices/efikamx/uImage-2.6.31.14.22-efikamx_20110510(the
kernel)
http://crux-arm.nu/files/devices/efikamx/modules-2.6.31.14.22-efikamx_20110510.tar.bz2(the
modules)

So far I've just very quickly tried the following. I replaced the kernel I
was using on the first SD partition with the one above in the link and
extracted/copied across the modules too. Then it was just a case of
modifying the boot.scr.in file to point to the new kernel and then running
(from the installed ubuntu install) script.prep boot.scr.in boot.scr and
rebooted.

This time with this kernel I was more succesful. I haven't tried much else
right now - but I can now login with login name root and password password.
Keyboard looks good too seems to be working fine. Even plugging in a plain
old fashioned boring usb memory stick and mounting it worked!

How much works (or dosen't work) after that though I don't know!

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-02 Thread Ottavio
On 2 September 2011 23:22, lee jones slothp...@gmail.com wrote:

 This time with this kernel I was more succesful. I haven't tried much else
 right now - but I can now login with login name root and password password.
 Keyboard looks good too seems to be working fine. Even plugging in a plain
 old fashioned boring usb memory stick and mounting it worked!

So, it looks like you 'ported' armedslack onto the Efikamx (ok, I know
that Armedslack needs not be ported, I was just exaggerating a
bit...).

Have you got network and Xorg running? Can you add some screenshots?


-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread Davide
Regarding the keyboard: have you checked whether all the necessary modules were 
loadad by /etc/rc.d/rc.modules ?
some modules may not get autoloaded automatically.

Regards
David

Da: lee jones slothp...@gmail.com
Oggetto: Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)
A: armedslack@lists.armedslack.org
Data: Mercoledì 31 agosto 2011, 14:45

Ok here's a tidied up list of what I've tried (second attempt) at installing 
armedslack on the Efika MX smartbook.



Armedslack Version used    = slack-13.1-miniroot_14Jun10.tar.xz
Efika mx modules/kernel version    = 2.6.31.14.22


0. Notes
* This dosen't work properly yet - currently boots to a command line, but 
keyboard is unusable.

1. Grab an SD card and partition it into two partitons
Partition 1 - 100MB  EXT3

Partition 2 - Rest of card   EXT4

2. Format both partitions on a linux system. Use mkfs.ext3 for the ext3 
partiton, and use mkfs.ext4 for the ext4 partition.

3. Download the slack 13.1 miniroot file from here;

ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/slack-13.1-miniroot_14Jun10.tar.xz


4. Download the following files from here;
[1] http://ausil.us/smartbook/boot-2.6.31.14.22-efikamx.tar
[2] http://ausil.us/smartbook/modules-2.6.31.14.22-efikamx.tar

[3] http://ausil.us/smartbook/firmware.tar.bz2
[4] http://steubentech.com/~talon/Efika-MX/mavericksd/boot.tar.xz


5. Extract two scripts from [4] - these are the files script-prep and 
kernel-prep.

6. Extract the contents of  [1] onto the first partition of the SD card. Move 
the files into the boot directory into the root of the first partition of the 
SD card. Delete the directories dracut and grub.


7. Extract the files from the slack distro onto the second partition of the SD 
card, e.g.
 tar -xf slack-13.1-miniroot_14Jul10.tar.xz -C 
/where/you/mounted/the/second/partition

8. Extract the files from [2] and [3] onto the second partition of the SD card.


9. On the second SD card partition edit /etc/inittab and comment out the line 
starting with s0:1234, put a # in front of that line to comment it out.

9. On the second SD card partition edit /etc/fstab and add the following;

/dev/mmcblk0p2   /  ext4   defaults    1   1
/dev/mmcblk0p1   /boot  ext3   defaults    0   0

10. On the first partition when the files in [1] were extracted you should have 
a boot.scr.in file. Edit this to look as follows;


setenv ramdisk uInitrd;
setenv kernel uImage;
setenv bootargs console=tty1 root=/dev/mmcblk0p2 selinux=0 rootwait ro;
${loadcmd} ${ramdiskaddr} ${ramdisk};
if imi ${ramdiskaddr}; then; else
  setenv bootargs ${bootargs} noinitrd;

  setenv ramdiskaddr ;
fi;
${loadcmd} ${kerneladdr} ${kernel}
if imi ${kerneladdr}; then
  bootm ${kerneladdr} ${ramdiskaddr}
fi;

11. Boot the efika MX and allow it to boot the default linux (ubuntu) install. 
Insert the SD card, open a command line to where the SD card (1st partition) is 
mounted and do the following;

sudo ./script-prep boot.scr.in boot.scr

12. Reboot the efika MX smartbook, leave the SD card in the SD slot.




ljones


-Segue allegato-

___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread lee jones
On Thu, Sep 1, 2011 at 9:10 AM, Davide louigi...@yahoo.it wrote:

 Regarding the keyboard: have you checked whether all the necessary modules
 were loadad by /etc/rc.d/rc.modules ?
 some modules may not get autoloaded automatically.

 Regards
 David



Must admit I didn't think of that. I looked at the rc.modules for armedslack
and all it appears do be doing is to be checking for the presense of a mouse
(ps2 from memory) and if it exists, load its module. The equivilent on the
flash install on the efika mx (it uses ubuntu on its internal flash by
defaut) I think the equivilent file in ubuntu is called /etc/modules, all
that did was to load something called gpu. Modprobing that in armedslack
made no difference.


I then thought and . well, decided to try to see what lsmod was saying
about which modules were being loaded. Looks like armedslack is using quite
a few less modules than the internal version!

Modules used/loaded by armedslack after boot;

Module  Size  Used by
vfat   11364  1
fat52240  1 vfat
gpu   109680  0
ipv6  281484  10
ext3  122720  1
jbd50152  1 ext3
btusb  13192  0
bluetooth  61708  1 btusb
rfkill 21000  1 bluetooth
sbs 9672  0
rt2870sta 356960  0
snd_soc_sgtl5000   14956  0
usb_storage37140  1
usb_libusual   20868  1 usb_storage
usbhid 20996  0
hid38228  1 usbhid
ehci_hcd   37956  0
usbcore   144516  6
btusb,rt2870sta,usb_storage,usb_libusual,usbhid,ehci_hcd
dm_mod 70900  0








Modules used/loaded by internal flash (ubuntu) after boot;

Module  Size  Used by
vfat   11252  1
fat51308  1 vfat
usb_storage37064  1
usb_libusual   20848  1 usb_storage
cpufreq_ondemand7644  1
snd_soc_imx_3stack_sgtl5000 8472  0
snd_soc_imx_ssi 6716  1 snd_soc_imx_3stack_sgtl5000
binfmt_misc 9028  1
dm_crypt   13980  0
sco11364  2
bnep   13200  2
l2cap  24040  3 bnep
btusb  13192  2
uvcvideo   61008  0
bluetooth  60872  11 sco,bnep,l2cap,btusb
rfkill 20892  3 bluetooth
ipv6  280868  12
rt2870sta 344224  1
usbhid 20936  0
hid37132  1 usbhid
ext3  121736  1
jbd50008  1 ext3
ehci_hcd   37948  0
sbs 9672  0
snd_soc_sgtl5000   14916  3 snd_soc_imx_3stack_sgtl5000
usbcore   143952  7
usb_storage,usb_libusual,btusb,uvcvideo,rt2870sta,usbhid,ehci_hcd
gpu   108160  2
ecryptfs   96484  0
ext4  310100  1
mbcache 8120  2 ext3,ext4
jbd2   80284  1 ext4
dm_mirror  15036  0
dm_region_hash 10396  1 dm_mirror
dm_log 11076  2 dm_mirror,dm_region_hash
dm_mod 70516  3 dm_crypt,dm_mirror,dm_log
mmc_block  11212  0
mx_sdhci   17716  0
mmc_core   55364  2 mmc_block,mx_sdhci
pata_fsl   11568  3
libata143864  1 pata_fsl


ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread Davide
Aorry for top posting but I seem to be unable to change my yahoo settings not 
to do this any more.

What if you try to load the modules that were missed by armedslack ?



--- Gio 1/9/11, lee jones slothp...@gmail.com ha scritto:

Da: lee jones slothp...@gmail.com
Oggetto: Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)
A: Slackware ARM port armedslack@lists.armedslack.org
Data: Giovedì 1 settembre 2011, 13:51



On Thu, Sep 1, 2011 at 9:10 AM, Davide louigi...@yahoo.it wrote:

Regarding the keyboard: have you checked whether all the necessary modules were 
loadad by /etc/rc.d/rc.modules ?
some modules may not get autoloaded automatically.


Regards
David



Must admit I didn't think of that. I looked at the rc.modules for armedslack 
and all it appears do be doing is to be checking for the presense of a mouse 
(ps2 from memory) and if it exists, load its module. The equivilent on the 
flash install on the efika mx (it uses ubuntu on its internal flash by defaut) 
I think the equivilent file in ubuntu is called /etc/modules, all that did 
was to load something called gpu. Modprobing that in armedslack made no 
difference.



I then thought and . well, decided to try to see what lsmod was saying 
about which modules were being loaded. Looks like armedslack is using quite a 
few less modules than the internal version!

Modules used/loaded by armedslack after boot;


Module  Size  Used by
vfat   11364  1 
fat    52240  1 vfat
gpu   109680  0 
ipv6  281484  10 
ext3  122720  1 

jbd    50152  1 ext3
btusb  13192  0 
bluetooth  61708  1 btusb
rfkill 21000  1 bluetooth
sbs 9672  0 
rt2870sta 356960  0 

snd_soc_sgtl5000   14956  0 
usb_storage    37140  1 
usb_libusual   20868  1 usb_storage
usbhid 20996  0 
hid    38228  1 usbhid
ehci_hcd   37956  0 

usbcore   144516  6 
btusb,rt2870sta,usb_storage,usb_libusual,usbhid,ehci_hcd
dm_mod 70900  0 








Modules used/loaded by internal flash (ubuntu) after boot;


Module  Size  Used by
vfat   11252  1 
fat    51308  1 vfat
usb_storage    37064  1 
usb_libusual   20848  1 usb_storage
cpufreq_ondemand    7644  1 

snd_soc_imx_3stack_sgtl5000 8472  0 
snd_soc_imx_ssi 6716  1 snd_soc_imx_3stack_sgtl5000
binfmt_misc 9028  1 
dm_crypt   13980  0 
sco    11364  2 
bnep   13200  2 

l2cap  24040  3 bnep
btusb  13192  2 
uvcvideo   61008  0 
bluetooth  60872  11 sco,bnep,l2cap,btusb
rfkill 20892  3 bluetooth
ipv6  280868  12 

rt2870sta 344224  1 
usbhid 20936  0 
hid    37132  1 usbhid
ext3  121736  1 
jbd    50008  1 ext3
ehci_hcd   37948  0 

sbs 9672  0 
snd_soc_sgtl5000   14916  3 snd_soc_imx_3stack_sgtl5000
usbcore   143952  7 
usb_storage,usb_libusual,btusb,uvcvideo,rt2870sta,usbhid,ehci_hcd
gpu   108160  2 

ecryptfs   96484  0 
ext4  310100  1 
mbcache 8120  2 ext3,ext4
jbd2   80284  1 ext4
dm_mirror  15036  0 
dm_region_hash 10396  1 dm_mirror

dm_log 11076  2 dm_mirror,dm_region_hash
dm_mod 70516  3 dm_crypt,dm_mirror,dm_log
mmc_block  11212  0 
mx_sdhci   17716  0 
mmc_core   55364  2 mmc_block,mx_sdhci

pata_fsl   11568  3 
libata    143864  1 pata_fsl


ljones


-Segue allegato-

___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread Stuart Winter

  Regarding the keyboard: have you checked whether all the necessary modules 
  were loadad by /etc/rc.d/rc.modules ?
  some modules may not get autoloaded automatically.

 Does it not make more sense to mount armedslack in chroot and then
 build kernel and modules form there?

You don't need to do this - you can build a kernel with a cross compiler.
It's far faster.

I don't have a reference document for this -- the only cross environment
I have is here:
ftp://ftp.armedslack.org/armedslack/armedslack-devtools/x-toolchain/
but this is just enough of a cross toolchain to enable distcc on my x86
machines.

Also, there's no reason why you couldn't build the kernel  modules
on another compatible ARM Linux distribution first, then copy them
into your ARMedslack filesystem.
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread Davide
I thaught the guy was using efika specifik cernel from some other source ... so 
that the just could be loaded manually. Mut maybe I undestuud wrong.

If you are compiling your own kernel for that hardware make sure you apply all 
the necessary patches that are not in the vanilla kernel upstream (good lunck 
on that as most of them could have problems applying to whatever version you 
choos to use instead of the version they were made for).

Regards
David

--- Gio 1/9/11, Stuart Winter m-li...@biscuit.org.uk ha scritto:

 Da: Stuart Winter m-li...@biscuit.org.uk
 Oggetto: Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 
 800MHz)
 A: Slackware ARM port armedslack@lists.armedslack.org
 Data: Giovedì 1 settembre 2011, 16:36
 
   Regarding the keyboard: have you checked whether
 all the necessary modules were loadad by
 /etc/rc.d/rc.modules ?
   some modules may not get autoloaded
 automatically.
 
  Does it not make more sense to mount armedslack in
 chroot and then
  build kernel and modules form there?
 
 You don't need to do this - you can build a kernel with a
 cross compiler.
 It's far faster.
 
 I don't have a reference document for this -- the only
 cross environment
 I have is here:
 ftp://ftp.armedslack.org/armedslack/armedslack-devtools/x-toolchain/
 but this is just enough of a cross toolchain to enable
 distcc on my x86
 machines.
 
 Also, there's no reason why you couldn't build the kernel
  modules
 on another compatible ARM Linux distribution first, then
 copy them
 into your ARMedslack filesystem.
 ___
 ARMedslack mailing list
 ARMedslack@lists.armedslack.org
 http://lists.armedslack.org/mailman/listinfo/armedslack
 
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread lee jones
That's certianly a good idea, quite agree about recompiling the kernel. Only
snag is I don't know anywhere near enough about doing so - especially on
arm, and from what I've read there needs to be special bits 'n' pieces
compiled in for (say) the gpu to work properly. I'm really thinking I'll
have to wait this isn't something I have anywhere enough ability to do x.x !

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-09-01 Thread Stuart Winter

 That's certianly a good idea, quite agree about recompiling the kernel. Only
 snag is I don't know anywhere near enough about doing so - especially on
 arm, and from what I've read there needs to be special bits 'n' pieces
 compiled in for (say) the gpu to work properly. I'm really thinking I'll
 have to wait this isn't something I have anywhere enough ability to do x.x !

Each architecture should have a default configuration.
So you cd into the root of the Linux kernel source, and do for example:
  make ARCH=arm rpc_defconfig
which would place the RiscPC default configuration as the kernel '.config'
file.  You can find the configs in:
  arch/arm/configs

If the Efika can boot via tftp (I haven't been following the thread much)
then you place the newly compiled kernel onto your tftp server and boot it
over the network.  This way you leave the original one (on your NAND or
whatever) in tact.  This is how I usually test the new kernels for
ARMedslack.
This way, if your kernel works then it does -- if not, you can recompile
until you get it right.

-- 
Stuart Winter
Slackware ARM: www.armedslack.org
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-28 Thread Ottavio
On 27 August 2011 13:52, lee jones slothp...@gmail.com wrote:
 Ok  I decided to note down as a list of instructions what I've tried to
 do, here goes. Note that it still does not boot!


Have you tried using these other boot, modules and firmware tarballs
(not the rootfs, that's fedora 13):
http://ausil.us/smartbook/

I have a feeling these will work and you don't need to run any scripts
with this one, just unpack the  boot tarball on the first partition on
a sdcard formated ext3 and replace the armedslack modules and firmare
and let us know.


-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-27 Thread lee jones
Ok  I decided to note down as a list of instructions what I've tried to
do, here goes. Note that it still does not boot!



Attempt at getting Armedslack 13.1 onto Efika MX Smartbook

Armedslack Version used = slack-13.1-miniroot_14Jun10.tar.xz
Efika mx modules/kernel version = 2.6.31.14.20-efikamx

0. Notes
* This dosen't work yet. Although the earlier boot error messages I had have
largely gone - so far the MX smartbook locks up/hangs, it dosen't complete
boot.
* I changed the 1st partiton from EXT2 to EXT3 as I found that while I was
doing all of this it (partiton 1) would get corrupted x.x .
* The efika mx kernel used here *at boot-up* dosen't understand EXT3!
* Once booting has started EXT3 seems ok but them dosen't understand EXT2...
* I ended up using EXT3 for partiton 1 and EXT4 for partition 2.

here's what I've tried;

1. Grab an SD card and partition it into two partitions
Partition 1 - 100MB EXT3
Partition 2 - Rest of card  EXT4

2. Format both partitions on a linux system. Use mkfs.ext3 for the ext3
partiton, and use mkfs.ext4 for the ext4 partition.

3. Download the slack 13.1 miniroot file from here;
ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/slack-13.1-miniroot_14Jun10.tar.xz

4. Download both the boot.tar.xz and root.tar.xz from here;
http://steubentech.com/~talon/Efika-MX/mavericksd/

5. Extract the files from the boot.tar.xz file onto the first partiton. Note
that in the .tar.xz file the files are in a directory called boot. These
will need to be moved to the root of the 1st partition of the SD card. Also
get rid of the old boot directory and lost+found.

6. Extract the files from the slack distro onto the second partition of the
SD card, e.g. tar -xf slack-13.1-miniroot_14Jul10.tar.xz -C
/where/you/mounted/the/second/partition

7. Extract the /lib/modules directory and files from the root.tar.xz file.
Copy them onto the second SD card partition into /lib/modules.

8. Edit on the second SD partition etc/inittab and comment out the line
starting s0:1234, put a # in front to comment out.

9. Edit on the second SD partition etc/fstab and add this;
/dev/mmcblk0p2  / ext4 defaults 1 1
/dev/mmcblk0p1  /boot ext3 defaults 0 0

10. Boot up the efika MX smartbook with no SD card in it (so it goes into
its ubuntu distro), once it has loaded up pop in the second card.

11. On the first SD card partition, change the boot.script file to read as
follows (it should be in the root of the 1st SD card partition, you'll need
sudo also);

**
setenv ramdisk uInitrd-2.6.31.14.20-efikamx;
setenv kernel uImage-2.6.31.14.20-efikamx;
setenv bootargs console=tty1 root=/dev/mmcblk0p2 rootwait ro;
${loadcmd} ${ramdiskaddr} ${ramdisk};
if imi ${ramdiskaddr}; then; else
  setenv bootargs ${bootargs} noinitrd;
  setenv ramdiskaddr ;
fi;
${loadcmd} ${kerneladdr} ${kernel}
if imi ${kerneladdr}; then
  bootm ${kerneladdr} ${ramdiskaddr}
fi;
**

11. From the first partition of the SD card run the following command;
sudo ./script-prep boot.script boot.scr

12. Shut down the MX smartbook, leave the SD card in its slot and power back
on.

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-27 Thread lee jones
Also contents of /var/log/dmesg;

[0.00] Initializing cgroup subsys cpuset
[0.00] Linux version 2.6.31.14.20-efikamx (root@buildbot) (gcc
version 4.5.1 (Ubuntu/Linaro 4.5.1-7ubuntu2) ) #2 PREEMPT Mon Feb 28
21:18:36 CST 2011
[0.00] CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7),
cr=10c53c7f
[0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[0.00] Machine: Genesi Efika MX (Smartbook)
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] On node 0 totalpages: 106496
[0.00] free_area_init_node: node 0, pgdat 80419a14, node_mem_map
8047e000
[0.00]   DMA zone: 192 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 24384 pages, LIFO batch:3
[0.00]   Normal zone: 640 pages used for memmap
[0.00]   Normal zone: 81280 pages, LIFO batch:15
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total
pages: 105664
[0.00] Kernel command line: console=tty1 root=/dev/mmcblk0p2
rootwait ro
[0.00] PID hash table entries: 2048 (order: 11, 8192 bytes)
[0.00] Dentry cache hash table entries: 65536 (order: 6, 262144
bytes)
[0.00] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[0.00] Memory: 416MB = 416MB total
[0.00] Memory: 410884KB available (3564K code, 589K data, 136K init,
0K highmem)
[0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00] NR_IRQS:368
[0.00] MXC IRQ initialized
[0.00] Console: colour dummy device 80x30
[0.00] console [tty1] enabled
[0.00] Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
[0.00] Mount-cache hash table entries: 512
[0.00] Initializing cgroup subsys ns
[0.00] Initializing cgroup subsys cpuacct
[0.00] Initializing cgroup subsys freezer
[0.00] Initializing cgroup subsys net_cls
[0.00] CPU: Testing write buffer coherency: ok
[0.00] devtmpfs: initialized
[0.00] regulator: core version 0.5
[0.00] NET: Registered protocol family 16
[0.00] i.MX IRAM pool: 128 KB@0x9a84
[0.00] IRAM READY
[0.00] CPU is i.MX51 Revision 3.0
[0.00] MXC GPIO hardware
[0.00] Efika MX: mmc0 configured as MicroSD
[0.00] Efika MX: mmc1 configured as external SDHC
[0.00] Efika MX: Smartbook Revision 2.0
[0.00] Efika MX: Memory type Hynix DDR2
[0.00] Using SDMA I.API
[0.00] MXC DMA API initialized
[0.00] bio: create slab bio-0 at 0
[0.00] SCSI subsystem initialized
[0.00] CSPI: mxc_spi-0 probed
[0.00] IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[0.00] NET: Registered protocol family 8
[0.00] NET: Registered protocol family 20
[0.00] mc13892 Rev 2.0 FinVer 2 detected
[0.00] Initializing regulators for Efika MX
[0.00] regulator: SW1: 600 -- 1375 mV
[0.00] regulator: SW2: 900 -- 1850 mV
[0.00] regulator: SW3: 1100 -- 1850 mV
[0.00] regulator: SW4: 1100 -- 1850 mV
[0.00] regulator: SWBST: 0 mV
[0.00] regulator: VIOHI: 0 mV
[0.00] regulator: VPLL: 1050 -- 1800 mV
[0.00] regulator: VDIG: 1650 mV
[0.00] regulator: VSD: 1800 -- 3150 mV
[0.00] regulator: VUSB2: 2400 -- 2775 mV
[0.00] regulator: VVIDEO: 2775 mV
[0.00] regulator: VAUDIO: 2300 -- 3000 mV
[0.00] regulator: VCAM: 2500 -- 3000 mV fast normal
[0.00] regulator: VGEN1: 1200 -- 3150 mV
[0.00] regulator: VGEN2: 1200 -- 3150 mV
[0.00] regulator: VGEN3: 1800 -- 2900 mV
[0.00] regulator: VUSB: 0 mV
[0.00] regulator: GPO1: 0 mV
[0.00] regulator: GPO2: 0 mV
[0.00] regulator: GPO3: 0 mV
[0.00] regulator: GPO4: 0 mV
[0.00] Device spi1.0 probed
[1.067574] Switched to high resolution mode on CPU 0
[1.067933] NET: Registered protocol family 2
[1.068321] IP route cache hash table entries: 4096 (order: 2, 16384
bytes)
[1.069353] TCP established hash table entries: 16384 (order: 5, 131072
bytes)
[1.069657] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[1.069836] TCP: Hash tables configured (established 16384 bind 16384)
[1.069867] TCP reno registered
[1.070091] NET: Registered protocol family 1
[1.070330] Unpacking initramfs...
[1.476889] Freeing initrd memory: 6596K
[1.477916] LPMode driver module loaded
[1.477954] Static Power Management for Freescale i.MX51
[1.478289] PM driver module loaded
[1.478583] sdram autogating driver module loaded
[1.478963] Bus freq driver module loaded
[1.479031] mxc_dvfs_core_probe
[1.479348] DVFS driver module loaded
[1.479386] i.MXC CPU frequency driver
[1.480023] DVFS PER driver module loaded
[

Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-26 Thread lee jones
On Thu, Aug 25, 2011 at 10:21 PM, Ottavio pr0f3ss0r1...@yahoo.com wrote:

 On 25 August 2011 21:49, lee jones slothp...@gmail.com wrote:
  The second partition contains this
  (
 ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/slack-13.1-miniroot_14Jun10.tar.xz)

 Excuse the silly question, did you actually extract the image on the
 partition or did just copy the archive (I said it was a silly question
 but I had to ask!).



*thinks ... I partitioned the SD card into two partitions and formatted
them; for the second partition I downloaded the slack-13.1 miniroot file and
extracted its contents onto the second SD partiton.



  boot.script looks like this
  setenv ramdisk uInitrd-2.6.31.14.20-efikamx;
  setenv kernel uImage-2.6.31.14.20-efikamx;
  setenv bootargs console=tty1 root=/dev/mmcblk0p2 rootwait rw;

 How is the second partition recognised on your smartbook (fdisk -l)?
 Did you change root= to point to the right partition?
 I'd also add  rootfs=ext3 .


root= seems to be ok pointing to the correct partition. fdisk -l shows the
sd card as two partitions - /dev/mmcblk0p1 (1st sd  partition) and
/dev/mmcblk0p2 (2nd sd partition). In my  boot.script file it says
root=/dev/mmcblk0p2 .I also tried adding in rootfs=ext3 .



 Copy the original boot.script into boot.script.orig, then edit  boot.script
 and:

 cd /boot
 ./script-prep boot.script boot.scr


I did try that, Intrestingly if I put it all into /boot on the sd card the
efika mx won't boot from the SD card at all. I have to put everything in
root (of the SD card) to even get it to consider booting! Didn't succeed in
booting from SD though, same problem as before.



 Then, according to William Steuben's instructions:
 If you want the initial first time boot setup to work you need to cd
 to the root filesystem of the sd card and type touch
 var/lib/oem-config/run


Not sure but the slack 13.1 miniroot dosen't seem to have this file.



 Do this only if you have a recovery image. I don't want to be
 responsible for the life of your smartbook.

 And another thing: have you tried to boot from the installed Ubuntu,
 mount the Slackware partition and then chroot into it? At least you
 know if you can run that system with that kernel and those modules.


That's an intresting idea!

Just sticking with the slack 13.1 miniroot on the sd card (second partition)
I tried doing sudo chroot on the second partiton (I used df -h to get the
directory name where it is mounted in ubuntu) and it seemed to work (though
I only tried basic bash-like commands like ls, cp etc). I also tried running
pkgtool surprisingly this worked too and I was able to list all the
installed packages (In the slack 13.1 miniroot) by choosing the view
option.

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-26 Thread lee jones
Ok, I have an update here as I have gotten a little further. But  (wait for
it) there's good news and bad news.

The good news? I've now gotten further with booting. It appears the efika mx
kernel dosen't work with ext3! Going over the top of the second partiton
(using ext3) with ext4 meant I got further with booting.

The bad news? I'm now as far in as Loading
/usr/share/kbd/keymaps/i386/qwerty/uk.map.gz . The system all but stops
there, the only line it prints after some time is INIT: Id s0 respawning
too fast: disabled for 5 minutes.

I also double-checked the /etc/fstab on the slackware 13.1 mini file system
(second partiton of my SD card) it looks fine (I am guessing here);

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-26 Thread lee jones
On Fri, Aug 26, 2011 at 9:04 PM, lee jones slothp...@gmail.com wrote:


 Ok, I have an update here as I have gotten a little further. But  (wait for
 it) there's good news and bad news.

 The good news? I've now gotten further with booting. It appears the efika
 mx kernel dosen't work with ext3! Going over the top of the second partiton
 (using ext3) with ext4 meant I got further with booting.

 The bad news? I'm now as far in as Loading
 /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz . The system all but stops
 there, the only line it prints after some time is INIT: Id s0 respawning
 too fast: disabled for 5 minutes.

 I also double-checked the /etc/fstab on the slackware 13.1 mini file system
 (second partiton of my SD card) it looks fine (I am guessing here);

 ljones





Update : The messages about INIT: s0 respawning have gone :) (had to edit
inittab) but still got the lock up after the line
/usr/share/kbd/keymaps/i386/qwerty/uk.map.gz. I tried stopping this from
loading by doing this;

# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
#if [ -x /usr/bin/loadkeys ]; then
# /usr/bin/loadkeys uk.map
#fi

but it now locks up on starting system message bus: /usr/bin/dbus-uuidgen
--ensure ; /usr/bin/daemon --system.

Something is causing armedslack to lock up but not sure what!

ljones
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-26 Thread Ottavio
On 26 August 2011 22:09, lee jones slothp...@gmail.com wrote:
 The /etc/fstab reads;

 /dev/mmcblk0p2   /  ext4 errors=remount-ro 0  1


Shouldn't that be:

 /dev/mmcblk0p2   /ext4 defaults1 1
 /dev/mmcblk0p1   /boot  ext2 defaults  0  0

?

-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-24 Thread Ottavio
On 24 August 2011 22:24, lee jones slothp...@gmail.com wrote:
 Armedslack on the efika mx could be intresting - the supplied ubuntu install
 works but it's not all that fast. Maybe armedslack with kde 3.5 might be
 faster?


Thanks for your interest in the matter, although to be honest I myself
am starting to lose interest in it. I have applied for an account on
the Power Developer forum (for those who are not familiar: Genesi
http://en.wikipedia.org/wiki/Genesi used to be a Power PC
manufacturer, then they switched to ARM but retained the 'Power' so to
speak) but I haven't had a contact yet. It looks like this August the
whole world is on holiday.



-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] Armedslack on the Efika i.MX515 (ARM Cortex-A8 800MHz)

2011-08-24 Thread Ottavio
On 25 August 2011 00:15, lee jones slothp...@gmail.com wrote:
 Must admit I'd still like to try it if only to replace that s-l-o-w ubuntu
 install. Though I'm just not sure how to go about it but I was reading this;

 http://steubentech.com/~talon/Efika-MX/mavericksd/README.txt

 In particular the end of it as far as I can tell what is needed is a kernel,
 initrd and a boot.scr file.

It looks like that the kernel is in the
'linux-image-2.6.31.14.20-efikamx' package:
http://packages.efikamx.info/pool/main/l/linux-source-2.6.31.14.20-efikamx/

It's a .deb file and if you extract it in the /boot directory you'll
find vmlinuz-2.6.31.14.20-efikamx. There's no separate initrd.

Whether this kernel would boot slackware root out of the box, I doubt
it because armedslack-13.37 comes with the 2.6.38.4 kernel and
armedslack-current with 2.6.39.4 but this is only my opinion. If you
have an account on power developer you could do us a favour and ask
there.

About creating the boot.src and/or building the kernel from scratch:
https://wiki.linaro.org/Boards/Efika

The standard boot.src should be in the /boot partition of the SSD.

 Though weather it is possible to use
 armedslack's kernel/initrd or the
 efika's ones I'm not sure.

The kernels on armedslack repository are only for kirkwood and versatile.


-- 
Ottavio


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack