1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Running Pyra-OS on Pandora

Discussion in 'Pyra OS (Debian GNU/Linux)' started by hns, Sep 23, 2016.

  1. hns

    hns Very Active Member

    Joined:
    Jul 16, 2012
    Messages:
    294
    Location:
    Oberhaching
    With the latest kernels which support OMAP3 and OMAP5 and after doing minor fixes to the boot.scr and makesd scripts it seems to be very easy to create an SD card that can be booted on the Pandora but runs the Pyra-OS.

    The command to create a card is

    DEV=/dev/sdd ./makesd openpandora -f1 -r http://packages.pyra-handheld.com/rootfs/pyra-debian-jessie-xfce-rootfs.tgz

    When booting this card from left SD slot (break into U-boot menu by pressing right shoulder button while powering on and use D-Pad to choose "boot from SD" and then press "B") the kernel seems to start. LEDs start blinking and a console cursor appears. But there is no GUI. Which is to be expected since X11 needs some configuration for the screen etc.

    What also is working is the RNDIS/Ethernet-Gadget driver. If connected through USB the Pandora responds to ping 192.168.0.202. But it appears as if sshd and telnetd are disabled in the Pyra OS rootfs. So I wasn't able to get a shell prompt to do further analyses.

    I think this is encouraging to provide a future common PandYra-OS :)

    -- hns
     
    Tags:
  2. edgex004

    edgex004 Advanced Member

    Joined:
    Jan 5, 2008
    Messages:
    1,158
    Oh boy I definitely need to try this.

    Any idea if bluetooth should work on the Pandora? I haven't seen bleutooth working on hardfloat OS installs yet.
     
  3. TrashyMG

    TrashyMG Sarcasm Dispenser Staff Member

    Joined:
    Jan 18, 2010
    Messages:
    10,110
    @hns Do you have a link to that newer makesd script?
     
  4. hns

    hns Very Active Member

    Joined:
    Jul 16, 2012
    Messages:
    294
    Location:
    Oberhaching
    TrashyMG likes this.
  5. TrashyMG

    TrashyMG Sarcasm Dispenser Staff Member

    Joined:
    Jan 18, 2010
    Messages:
    10,110
    Last edited: Sep 23, 2016
  6. hns

    hns Very Active Member

    Joined:
    Jul 16, 2012
    Messages:
    294
    Location:
    Oberhaching
  7. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    9,037
    Location:
    Somewhere off the coast of the EU
    Network manager seems to depend on most of the bluetooth tools to at least let you do a bluetooth OBEX send and receive. I've never managed to get bluetooth working on arch using the command line tools, but on debian using nm-applet, it's easy enough on my machines.
     
  8. Hồng Thất Công

    Hồng Thất Công Đả Cẩu Bổng Pháp

    Joined:
    Dec 19, 2012
    Messages:
    4,338
    Location:
    Cái Bang
    Any chance you can make X11 work on Pandora?
     
  9. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,006
    Newest bluez doesn't work on Slackware so it should be the same here.
    It compiles, I see hci0 but that's all. I asked for help about that.
     
  10. edgex004

    edgex004 Advanced Member

    Joined:
    Jan 5, 2008
    Messages:
    1,158
    Yeah I was hoping if bluez was properly configured on Pyra OS that it could be incorporated into Slackware too.
     
  11. hns

    hns Very Active Member

    Joined:
    Jul 16, 2012
    Messages:
    294
    Location:
    Oberhaching
    Yes, it can work.

    There is also some lxde image for testing - but that is not PyraOS.

    Just run DEV=/dev/sdd ./makesd openpandora

    So I think what PyraOS needs is some tweaking to detect that it runs on a Pandora and just load the right xorg.conf.
     
    Hồng Thất Công likes this.
  12. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,006
    I suppose that its kernel is Letux ?
    Has it all tweaks for Pandora like overclocking ?
     
  13. hns

    hns Very Active Member

    Joined:
    Jul 16, 2012
    Messages:
    294
    Location:
    Oberhaching
    Yes, makesd installs the "universal" Letux kernel (unless instructed to fetch something else).
    No.

    Or better said: not yet :) If someone has a patch we can add it...

    It is also not functionally complete. E.g. nubs are not working (we are missing a Linux 4.8 compatible driver).
    But you can boot, charge battery and read fuel gauge, use keyboard, touch and display, SD slots and USB.
    Unclear to me is the support of WLAN and BT. AFAIK audio is not working.
     
  14. rSl

    rSl The Pyrates of Pestulon are GO, again!

    Joined:
    Dec 10, 2005
    Messages:
    391
    Location:
    a pyrates nest named home
    wow, the first steps of an 'official' debian cut for pandora...
    awesome thanks! :)
     
  15. rSl

    rSl The Pyrates of Pestulon are GO, again!

    Joined:
    Dec 10, 2005
    Messages:
    391
    Location:
    a pyrates nest named home
    anyone tried a recent cut of this on pandora and can report if audio is still not working and what's the status of wlan drivers at the moment? is it usable/stable?
    i could live without nubs-support and unaccelerated x/egl, as i mainly want to use cli and sdl depending stuff. for an occasional x session the dpad would suite me well for mouse movements, i guess...
    and as notaz released a new kernel for supersaxxon os which fixes a verry important charging issue (enables stop charging if battery is full!), is it possible to include these patches into this kernel too?

    cheers!
     
  16. Silent-Hunter

    Silent-Hunter Advanced Member

    Joined:
    May 29, 2010
    Messages:
    2,633
    Will this eventually become the default OS for Pandora as well?
     
  17. TrashyMG

    TrashyMG Sarcasm Dispenser Staff Member

    Joined:
    Jan 18, 2010
    Messages:
    10,110
    No, it wouldn't remotely fit on the NAND, even those with the rare 1GB NAND found in a select few 1GHz units... Honestly how it's currently packaged it isn't really geared for the Pandora, maybe sometime down the road someone can make it more Pandora friendly.
     
  18. elvissteinjr

    elvissteinjr Very Active Member

    Joined:
    Aug 23, 2013
    Messages:
    328
    Location:
    Germany
    Last time I checked, there was nub support, but they were disabled by default and the configurator ui wasn't shipped with it, so you had to turn on mouse mode by writing to the device file.
     
  19. rSl

    rSl The Pyrates of Pestulon are GO, again!

    Joined:
    Dec 10, 2005
    Messages:
    391
    Location:
    a pyrates nest named home
    brilliant, thanks!
    if we can get a 'safe charging' kernel, (which is an absolute must imo when using battery powered handheld-mode, lipo fires are *no* fun), i'm tempted getting a new battery and try it myself...
    would be fun to use the same debian rootfs on my future pyra and the pandora!
    switch devices, you feel instantly 'at home'. ;)
     

Share This Page

Loading...