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

    Originally posted by balbes150 View Post
    Using these instructions , I compiled the console version of the Gentoo image. Checked to run on i7Pro (S905X). The system is started, the wired network works (gets address via DHCP), ssh works. Want to try this system can download an image from my website from the Linux\Gentoo. User "user" password "1", the password for the root - "1234".





    https://yadi.sk/d/5_32km_EsCV2A
    for ease of access I added
    Code:
    PermitRootLogin yes
    AllowUsers root user
    to /etc/ssh/sshd_config

    Comment


      or

      ssh -X user@ip_addres
      (password user)
      su -
      (password root)
      #

      double protection

      Comment


        Originally posted by RISCy Dude View Post
        All work is credited to Balbes150 @balbes150.
        Many devices are now supported.
        To get the latest information, always look for balbes150's recent posts in this thread.

        Running Linux from SD card or USB Flash drive on the Vega S95.

        There are two separate steps to running Linux(or OpenELEC) on the Vega S95, all models.
        1.) U-boot needs to be modified to enable booting from SD Card or Flash Drive.
        NOTE: If you have already done Step 1, for instance, you already modified u-boot for OpenELEC, You can skip Step1
        2.) The SD Card or Flash Drive needs to be prepared for the OdroidC2 Ubuntu-Mate image.

        This is not too difficult, but as with all user actions related to running unofficial firmware, the user is responsible. Proceed at your own risk.
        I did not see much risk, but the decision is yours.


        Step 1.) Modifying u-boot to enable SD Card and/or Flash Drive booting.

        NOTE: No change to the installed Android will take place, only u-boot will be amended.

        1a.) Download update_uboot for your model from here. Copy both to the root of an SD Card. NOTE: This is balbes150's updated U-boot modify script and method.

        1b.) With no SD card inserted in the S95, power on the S95. When Android boots, insert the SD Card to the S95. Open the Backup&Update app. Under the "Local Update" section, click "Select". It will examine the SD Card and you should see the file, "'aml_autoscript.zip", select it. This will return you to the Update&Backup app's home screen. In the "Local Update" section, click "Update", to run the update.
        When complete, the S95 will reboot to Android. Remove the SD Card from the S95 and power it down. That is all we need with that SD Card, you can use it in the next step, the tool will wipe it when writing the image in the following step.

        Step 2.) Preparing the SD Card or Flash Drive for OdroidC2 Ubuntu-Mate on the S95.
        SD Card Class10 or better, at least 8GB recommended.


        Tool you will need.
        2a.) HDD Raw Copy Tool from HDDGURU.com
        -If you want to install the tool, use the installed version.
        -If you don't want to install the tool, use the Portable version. I used this, I like "Portable" programs.

        All other files needed can be found here.

        -Extract the file. The resulting file will be, "telos_ubuntu_odroidc2.img". If your model of box is different or you have chosen a different Linux distro, the file name will be similar.

        2b.)Run HDD Raw Copy Tool as administrator. Using the tool, double-click "FILE", locate, select and load the image, "telos_ubuntu_odroidc2.img". Click continue.


        -Pay very close attention in choosing the target, this will be the SD card or Flash drive that will be written to.

        Warning: Make certain the "Target" you choose is the SD card or Flash drive you intend to write to. If you choose the wrong drive(hard drives included), the tool will overwrite it, data loss will occur. SO MAKE VERY CERTAIN YOU CHOOSE THE DRIVE(SD Card or Flash drive) YOU INTEND TO WRITE TO!



        -If satisfied you have chosen the correct Target, click continue.

        LAST CHANCE TO BACK OUT.


        -Click "Start" and wait for completion.
        Once done, close the tool.


        With the S95 powered down, insert the SD card. Power on the S95. Be patient, it can take 3-7 minutes before you see the login screen.
        If after 10 minutes you don't get to the Odroid login screen, power down, wait 5 seconds and reboot. If it fails to get to the login screen again, power down, wait 5 seconds and reboot. This has taken me as many as 3 repeats to get to the login screen.
        Different cards seem to be more, or less, tolerant of the first boot. Once you get to the login screen, the password is odroid
        Subsequent boots are fast.

        balbes150 has additional Linux images, Debian, ARMBIAN, Alt Linux and others, see Linux folder here.. Prepare SD Card same as Step 2.
        Tips and tricks for the Debian Image, including adding a desktop environment and password, can be found here. <<<<<<NOTE: Only for reference, do not use files found at this link, use only files found on balbes150's Yandex site.
        An OpenELEC image is also available here. There are OpenELEC versions that run and boot from USB flash drive or SD card. Also a version for install to internal memory.
        "Once you get to the login screen, the password is odroid"

        I'm using a Beelink MiniMXiii-ii. SD card prepared with:

        v_0.6
        uboot_32Mb_20161122 img
        Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161105 img

        SD boots to CLI login

        Ubunt 16.04.1 LTS amlogic-s905x tty1

        amlogic-s905x login:

        What user here? I see that password is odriod

        Comment


          Originally posted by Loc View Post

          "Once you get to the login screen, the password is odroid"

          I'm using a Beelink MiniMXiii-ii. SD card prepared with:

          v_0.6
          uboot_32Mb_20161122 img
          Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161105 img

          SD boots to CLI login

          Ubunt 16.04.1 LTS amlogic-s905x tty1

          amlogic-s905x login:

          What user here? I see that password is odriod
          I think you can use default armbian scheme. First time login as root with pass 1234, then add new user.

          Comment


            Thank you

            Comment


              I balbes150,
              do You think I can use Your modified uboot in my qbox (S905) for boot android roms from sd card like I did with my old rk3188 and rk3288 boxes ?

              Thanks

              Comment


                Do I understand correctly that You want to run Android from external media (SD card) on the platform S905 ?

                Comment


                  Yes,
                  I did it last two years using rkxxxx devices, see http://freaktab.com/forum/tv-player-...y-to-dual-boot. It's simple and no need to flash anymore. Tomorrow i will get a qbox and if your U-Boot is safe I will made an attempt.

                  Comment


                    To run any system from external media, u-boot in internal memory do not need to change. It is sufficient to activate universal multiboot and to write the correct script commands, which need to be done to run an external system.

                    I recommend to keep the original u-boot in the internal memory. I don't recommend, without a need to change the executable code of u-boot in the internal memory. Using script - safe procedure, as it does not change the code of u-boot. In the original code, u-boot (which is located from the factory in the internal memory) can contain a unique code to support specific iron TV set-top box. This code is not in my version of the source code of u-boot. My code is based on a shared universal code for Amlogic.

                    Comment


                      Thanks,
                      In rkxxxx device is needed a modified boot in ROM.
                      During next days and weekend I hope can try to boot custom roms from sd.

                      Comment


                        I think that the method of multi-boot using the script should work on rkxxxx . If I see the output of the command "help" and "printenv" from u-boot - then I can say exactly how this can be done.

                        Comment


                          I hate to ask anything from you since you have done so much already, but I can't figure it out on my own. Any chance you can make an Arch image? Arch already has an image for the Odroid C2, I just don't know how to make that work on my s905.

                          Comment


                            Don't worry, I'm working on it. I hope in the near future, will ArchLinux. There are some issues that I need to solve, something that was easy to use, as other variants of Linux.

                            Comment


                              Hello guys
                              I tried to install various times aggionamento u-boot, but I always make the same mistake
                              someone knows how to help me?
                              I have a pro mxq 4k
                              thank you
                              You may only view thumbnails in this gallery. This gallery has 1 photos.

                              Comment


                                The photo is very small, it is not possible to understand what is written there. Describe in detail what steps You have already done.

                                Comment

                                Working...
                                X