Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I'm close to giving up

I'm close to giving up

Scheduled Pinned Locked Moved The Lounge
workspaceandroidgraphicsadobesysadmin
12 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

    To err is human. Fortune favors the monsters.

    pkfoxP M 0 Mike HankeyM E 6 Replies Last reply
    0
    • H honey the codewitch

      I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

      To err is human. Fortune favors the monsters.

      pkfoxP Offline
      pkfoxP Offline
      pkfox
      wrote on last edited by
      #2

      If you follow your usual pattern I expect to see a post in the near future boldly proclaiming, I've cracked it ! :-D

      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

      H 1 Reply Last reply
      0
      • pkfoxP pkfox

        If you follow your usual pattern I expect to see a post in the near future boldly proclaiming, I've cracked it ! :-D

        In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #3

        I appreciate the vote of confidence.

        To err is human. Fortune favors the monsters.

        1 Reply Last reply
        0
        • H honey the codewitch

          I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

          To err is human. Fortune favors the monsters.

          M Offline
          M Offline
          Matthew Dennis
          wrote on last edited by
          #4

          We need to collect all your posts into a book "What it is really like to be an Embedded Systems Developer". You let us know about your frustrations and failures followed by the Eureka Moment of success. Reminds me of my days developing custom microprocessor systems in the 80s. Things like debugging a flaky board and the scope probe correcting the bad IC socket connection, or the scope ground fixing a missing ground connection. We are all cheering you on and sitting on the edge or our seats wondering what Out-Of-The-Box solution you will come up with.

          "Mistakes are prevented by Experience. Experience is gained by making mistakes."

          H G J 3 Replies Last reply
          0
          • M Matthew Dennis

            We need to collect all your posts into a book "What it is really like to be an Embedded Systems Developer". You let us know about your frustrations and failures followed by the Eureka Moment of success. Reminds me of my days developing custom microprocessor systems in the 80s. Things like debugging a flaky board and the scope probe correcting the bad IC socket connection, or the scope ground fixing a missing ground connection. We are all cheering you on and sitting on the edge or our seats wondering what Out-Of-The-Box solution you will come up with.

            "Mistakes are prevented by Experience. Experience is gained by making mistakes."

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            Thanks. I hope it doesn't put too many people off. I know some don't care for the technical nature of a lot of my forum posts, but to me the struggles of development seem like they should be right at home in the lounge. What kind of coders would we be if we didn't swap war stories? :)

            To err is human. Fortune favors the monsters.

            1 Reply Last reply
            0
            • H honey the codewitch

              I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

              To err is human. Fortune favors the monsters.

              0 Offline
              0 Offline
              0x01AA
              wrote on last edited by
              #6

              You're annoying every now and then... .... but you're annoying in a pleasant way and more importantly in an informative way ;P :thumbsup:

              1 Reply Last reply
              0
              • H honey the codewitch

                I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

                To err is human. Fortune favors the monsters.

                Mike HankeyM Offline
                Mike HankeyM Offline
                Mike Hankey
                wrote on last edited by
                #7

                There's so much frustration in embedded work, but that little ray of sunshine makes it worth the effort.

                Give me coffee to change the things I can and wine for those I can not! PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com Latest Article: Simon Says, A Child's Game

                1 Reply Last reply
                0
                • M Matthew Dennis

                  We need to collect all your posts into a book "What it is really like to be an Embedded Systems Developer". You let us know about your frustrations and failures followed by the Eureka Moment of success. Reminds me of my days developing custom microprocessor systems in the 80s. Things like debugging a flaky board and the scope probe correcting the bad IC socket connection, or the scope ground fixing a missing ground connection. We are all cheering you on and sitting on the edge or our seats wondering what Out-Of-The-Box solution you will come up with.

                  "Mistakes are prevented by Experience. Experience is gained by making mistakes."

                  G Offline
                  G Offline
                  glennPattonPub
                  wrote on last edited by
                  #8

                  Embedded Development is 49% swearing at Chips, 11% swearing at the "person" who told you to do it & 40% alcohol dependency mixed with luck... :rolleyes:

                  1 Reply Last reply
                  0
                  • M Matthew Dennis

                    We need to collect all your posts into a book "What it is really like to be an Embedded Systems Developer". You let us know about your frustrations and failures followed by the Eureka Moment of success. Reminds me of my days developing custom microprocessor systems in the 80s. Things like debugging a flaky board and the scope probe correcting the bad IC socket connection, or the scope ground fixing a missing ground connection. We are all cheering you on and sitting on the edge or our seats wondering what Out-Of-The-Box solution you will come up with.

                    "Mistakes are prevented by Experience. Experience is gained by making mistakes."

                    J Offline
                    J Offline
                    jeron1
                    wrote on last edited by
                    #9

                    Matthew Dennis wrote:

                    the scope probe correcting the bad IC socket connection, or the scope ground fixing a missing ground connection.

                    :laugh: :laugh: :laugh: :(( :(( :(( Been Still there, done still do that, though less often than years ago.

                    "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                    1 Reply Last reply
                    0
                    • H honey the codewitch

                      I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

                      To err is human. Fortune favors the monsters.

                      E Offline
                      E Offline
                      englebart
                      wrote on last edited by
                      #10

                      These kinds of issues during one of my senior labs is why I stuck with software. Did the TA know that the chip I am using had a burned out address line? And the next one as well? A4 vs A12, and we figured out the second one a LOT faster. Third chip worked fine.

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        I get an Orange Pi PC some time between the 12th and the first of June. It's my last ditch effort to get xboot running on an ARM based SoC chip - an AllWinner H3 in this case. The Secondary Phase Loader code is what eludes me. I can't find it for xboot. I don't even know if it is *in* xboot. It might be. I can only find SPLs for linux and android, and u-boot, a tool for creating those SPLs for linux. So far I have not even been able to successfully use the FEL capability of any of this hardware to directly inject xboot code into the device's RAM via USB and execute it even thought it has that capability, and I have done that injection, but got a black screen. It could be because I was using a 480p LCD and xboot doesn't support it with the default config. So I spent $80 on a new compact 720p screen, which still doesn't show signal. I've probably dropped over $200 trying different boards and equipment now. It could be any number of things. Lately I haven't even been able to do the injection process because the device isn't enumerating anymore. - update: it enumerates and injects xboot, but black screen Also these boards don't expose the pin you need to drop the board into FEL mode where you can do the above injection. You have to flash an SD card with a special image to drop the board into FEL mode so you can do the injection, with no way to tell if it actually worked other than trying to inject. All of this is in Chinese. All of this is scattered across Chinese forums where I've even posted, but haven't received responses. Probably doesn't help that I'm posting in English but I trust the ability of Chinese tech people to read English more than I trust google translate There is so much going on in this rickety workflow and toolchain setup that anything could go wrong, and it's usually impossible to find out what failed. That's why I'm close to giving up and instead building a quick loading linux build, except for the fact that I have to launch X server to do any graphics at all. :( Damn these things.

                        To err is human. Fortune favors the monsters.

                        M Offline
                        M Offline
                        megaadam
                        wrote on last edited by
                        #11

                        I know this feeling when it happens Why why why, did I get into engineering?

                        "If we don't change direction, we'll end up where we're going"

                        H 1 Reply Last reply
                        0
                        • M megaadam

                          I know this feeling when it happens Why why why, did I get into engineering?

                          "If we don't change direction, we'll end up where we're going"

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #12

                          I thought I had successfully avoided it, given my lack of formal education or background in engineering - I was at Microsoft at 18 - I never went to uni. But no, I have to get scouted here *shakes fist at Chris Maunder* and now suddenly I'm neck deep in it - hardware as well as software, after leaving the software field professionally for years. And for some reason I enjoy the hell out of it, even as it makes me want to snatch myself baldheaded. :~

                          To err is human. Fortune favors the monsters.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups