Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Running Linux From SD Card or USB Flash Drive - Using Balbes150 Method And Files.

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by balbes150 View Post
    Changed the script aml_autoscript (v0.2). Please update the manual.
    Manual updated to include this change.
    Last edited by RISCy Dude; 12 April 2016, 03:17. Reason: Change content.

    Comment


      #17
      Running Android From SD Card(Odroid C2) ????

      Comment


        #18
        Originally posted by endera View Post
        Running Android From SD Card(Odroid C2) ????
        Don't understand the question that You want to know ?

        Comment


          #19
          ugoose, tronsmart, etc .. as well as companies want to use the FW s Odroid C2.

          Comment


            #20
            Thank you balbes150 for your hard work and RISCy for the detailed instructions.

            I installed Odroid on a 32GB SD card on my Telos and so everything is working well as you have explained. The boot is super fast and the system snappy. I took the USB Wireless key (from my Raspberry Pi) and plugged it in Telos and got WiFi working for the moment. I was able to set English as the main system language without any hassles.

            I have one question though. Oddly, the sound is not working for me. Absolutely no audio output via HDMI. Is that normal for this build? Could you please help me out with this?
            Also, how do I change the video output resolution to 1080p/4K?

            Thanks in advance.

            Comment


              #21
              for the HDMI sound issue, try this :
              su -c 'echo "audio_on" > /sys/class/amhdmitx/amhdmitx0/config'
              be sure you compiled the kernel with the M8 audio driver... and check the /etc/asound.conf

              for the resolution, I had to change the s905_autoscript.

              you are lucky for the wifi ... I have more troubles with broadcom chip of my MiniMX.

              Comment


                #22
                hummm... the Telos have a Broadcom AP6335 chip for wifi/bt. How did you manage to get wifi ? you patched & compiled the kernel ? or did you find an easier way ?

                Comment


                  #23
                  Has anyone had any luck getting the USB-SATA bridge working? From what I gather it's on a separate USB controller from the other 3 ports, and could possibly be initialised in USB OTG mode. I have a drive that works fine in the Android build.

                  I'll be investigating this myself in any case.

                  Comment


                    #24
                    Thanks Koxx. Can you elaborate a little on how to compile the kernel with the M8 audio driver? I have absolutely no idea about compiling kernels. About the WiFi, I did not enable the internal WiFi module. I just plugged in an external USB Wireless-N adapter, which I was using on my Raspberry Pi previously, and plugged it in the USB port of the Telos. It worked straight out of the box, so to speak, no tinkering was needed.

                    Comment


                      #25
                      I've been poking around in the Odroid C2 kernel config and it looks like SDIO wifi support is not enabled, which would probably explain why the wifi isn't working (I believe the wifi module is connected to the SDIO interface).

                      Comment


                        #26
                        Originally posted by rockthegod View Post
                        Thanks Koxx. Can you elaborate a little on how to compile the kernel with the M8 audio driver? I have absolutely no idea about compiling kernels. About the WiFi, I did not enable the internal WiFi module. I just plugged in an external USB Wireless-N adapter, which I was using on my Raspberry Pi previously, and plugged it in the USB port of the Telos. It worked straight out of the box, so to speak, no tinkering was needed.
                        first, check the sound card :
                        cat /proc/asound/cards
                        if it's not empty, it's ok, you don't need the rebuild the kernel, it's only configuration (asound & hdmi).

                        in /etc/asound.conf, you can use this :
                        pcm.!default {
                        type hw
                        card 0
                        device 1
                        format S16_LE
                        }

                        ctl.!default {
                        type hw
                        card 0
                        }


                        for the wifi, I understand

                        Comment


                          #27
                          Originally posted by JonSmith View Post
                          I've been poking around in the Odroid C2 kernel config and it looks like SDIO wifi support is not enabled, which would probably explain why the wifi isn't working (I believe the wifi module is connected to the SDIO interface).
                          I enabled it, no wifi :/
                          we still need the broadcom drivers & firmware... which are not included in the current 3.14 kernel if I understand corretly.

                          Comment


                            #28

                            To check wifi need to rename the file nvram_xxxxx.txt from his chip in nvram.txt in the directory firmware. Run the command

                            modprobe dhd

                            Comment


                              #29
                              Originally posted by JonSmith View Post
                              Has anyone had any luck getting the USB-SATA bridge working? From what I gather it's on a separate USB controller from the other 3 ports, and could possibly be initialised in USB OTG mode. I have a drive that works fine in the Android build.

                              I'll be investigating this myself in any case.
                              To turn the power on SATA, you need to create a GPIO port. Using it you can operate turning on\turning off the power. I can't find the info, what is the port number of GPIO used in Telos. If you get this room, you can make expotr to GPIO and control it via the entry 1 and 0 in this port.

                              Comment


                                #30
                                Originally posted by balbes150 View Post
                                To turn the power on SATA, you need to create a GPIO port. Using it you can operate turning on\turning off the power. I can't find the info, what is the port number of GPIO used in Telos. If you get this room, you can make expotr to GPIO and control it via the entry 1 and 0 in this port.
                                Thanks balbes, I'll have a look when I get home.

                                I'm thinking that I might be able to find which pin is toggled from android, I have root and a terminal so I ought to be able to read the GPIO when I enable and disable SATA to find the difference.

                                EDIT:

                                So far I've identified the device it mounts as here in android:

                                /sys/devices/adc_keypad.45/input/input1/sata_ctl

                                means you can echo 1 > /sys/devices/adc_keypad.45/input/input1/sata_ctl as an easy way to enable the SATA port on boot from the init.rc for android at least.
                                Last edited by JonSmith; 19 April 2016, 21:02. Reason: updates

                                Comment

                                Working...
                                X