Menu

How to build

Help
anonymous
2008-04-17
2013-05-22
  • anonymous

    anonymous - 2008-04-17

    Hi,

    First I'd like to say this is great work by the linwizard team. I'm able to run linwizard 0.2.0 on my elfin. The touchscreen is not working though. I guess the support is not there yet.

    I've downloaded the kernel from linwizard git. Looks like there is a branch called 'android'. I'd really like to play around with this. However I'm a git newbie. Can anyone give some step by step instructions on how to compile the android branch? I've installed Codesourcery ARM cross compiler on my Ubuntu box.

    Rookie1

     
    • miknix

      miknix - 2008-04-18

      Hello, welcome to linwizard.

      Yes you are right, touchscreen support isn't implemented yet. Although
      needed drivers are already included on the latest linux branches: SPI and ads7846 driver.
      It is needed to check how the touchcreen device is connected and other hardware
      specific information.

      > However I'm a git newbie. Can anyone give some step by step instructions on how to compile the android branch?
      > I've installed Codesourcery ARM cross compiler on my Ubuntu box.

      For getting a working copy of the linwizard git, check this project wiki. I think there is some information about it.

      For building the kernel, you'll need a gnueabi toolchain (check if your Codesourcery toolchain), otherwise the provided linwizard userspace (initrd) won't run at all.
      After getting a compatible toolchain, build the kernel using

      $ CROSS_COMPILE="armv5te-something-linux-gnueabi-" make

      where "armv5te-something-linux-gnueabi-" is your cross-compiler prefix.

      For more detailed information please join us at #linwizard @ irc.freenode.net

      Good luck,
      Angelo Arrifano

       
    • Zebediah C. McClure

      just a note, if you use gentoo/gcc the cross compile build target is in the linwizard kernel make file. If you have the appropriate compiler setup , "make" should just work.

      Thanks for your interest in linwizard

      Silven
      (Zebediah C. McClure)

       
    • anonymous

      anonymous - 2008-04-18

      Thanks for the reply. Can anyone post the kernel .config file?

       
      • miknix

        miknix - 2008-04-18

        Just do

        $ make htcwizard_defconfig

        to use our default and recommended .config file.

         
    • Alex Wilder

      Alex Wilder - 2008-05-05

      the compile instruction is not very clear on the wiki, it's not even explained what's polaris and miknix are used for...
      also i just noticed on another post that we have to use this command to get the kernel :
      git clone -o gnimirror http://mirrors.gni.com/mirrors/linwizard/polaris/linwizard-kernel.git
      but it's not mentionned in the wiki...

      on a side note, i noticed the arm chain is working with cygwin; but as it's totally unclear for me what sources we really need to compile linwizard I need to figure it by myself.

       
    • Zebediah C. McClure

      Alex, thanks for mentioning that.

      I just updated the wiki with new clone/fetch instructions and a quick note that I hope clarifies what the different repos do a little more.  If you're still confused, let us know.

       
    • Alex Wilder

      Alex Wilder - 2008-05-12

      thank you for adding infos in the wiki.
      I tried to compil linwizard with cygwin but had tons of compile errors using the arm toolchain mentionned. I'll install gentoo to compile it, as it's the easiest way I guess.

      the android code is in the gni mirror BTW ? As I really want to test it

       
    • Alex Wilder

      Alex Wilder - 2008-05-13

      So I installed gentoo 2007, and I tried to install crossdev to compile linwizard.
      but glibc2.5 doesn't want to compile..
      I have the following error:
      "/ports/sysdeps/arm/eabi/setfpucw.c:26:26: error: asm/procinfo.h: No such file or directory"

      any idea how to fix this ? It seems to be a known problem. I spent hours online and found nothing to help me :(

       

Log in to post a comment.

MongoDB Logo MongoDB