USB OTG Boot
#17
(01-10-2016, 06:04 PM)tllim Wrote:
(01-10-2016, 04:47 PM)ssvb Wrote:
(01-10-2016, 03:29 PM)tllim Wrote: The VBUS connect to a power switch LPW5210B5F with pine 4 en pin tie to high and Rset set as 10K. Here is the LPW5210 data sheet link: http://www.kcttek.com/uploads/soft/LPW5210.pdf. Please lets us know on your concern so that we can explore together.
Thanks! I was just curious about the use of USB OTG. If somebody plugs a USB A-A cable to the lower connector, then the PC is going to be providing +5V on VBUS, which is potentially undesirable. But the LPW5210B5F power switch has reverse current protection. Though I'm not quite sure if it is a good idea to have the EN pin pulled up by default (enabling the VBUS power on reset) for the lower USB connector. As for detecting the "device" vs. "host" mode, please have a look at USB0-VBUSDET on the A13 tablet reference schematic. This might be an alternative to the unavailable ID pin.

But admittedly this all is about a rather niche feature, because the majority of users will probably not care about booting over USB.

BTW, can anyone with a Pine64 board and USB A-A cable check if the FEL mode is actually available and paste the "sunxi-fel ver" output?

Please PM me with your shipping address, I just want make sure that you are in the developer distribution list. If we missed your name, I will include. Thanks.

Thanks on the tips and I will look into it.

Thanks for the update on the info for the schematic. I don't know why people are trying to inflame this at ever corner. also thamls ssvb for the info

Just to let you know my Idea of how I would use the USB boot, if we can get it running.

this depends on how much SRAM is available on the CPU so it might need to be more complex.

if there is enough SRAM then use the first stage boot loader to get the DRAM and Ethernet initialized, second stage gets pulled through Ethernet, second stage init all hardware that is needed besides DRAM, third stage is the full u-boot, and finally load everything from Ethernet into DRAM and boot. this being more of an embedded linux style just for kernel development. or instead of a ramfs image it could also be a NFS boot at that point.

This would allow a lot faster development of just about anything.


Messages In This Thread
USB OTG Boot - by devilsclaw - 01-09-2016, 09:53 PM
RE: USB OTG Boot - by tllim - 01-09-2016, 10:59 PM
RE: USB OTG Boot - by Andrew2 - 01-10-2016, 05:45 AM
RE: USB OTG Boot - by tllim - 01-10-2016, 12:45 PM
RE: USB OTG Boot - by devilsclaw - 01-10-2016, 01:46 PM
RE: USB OTG Boot - by tllim - 01-10-2016, 01:57 PM
RE: USB OTG Boot - by Andrew2 - 01-10-2016, 02:43 PM
RE: USB OTG Boot - by ssvb - 01-10-2016, 07:40 AM
RE: USB OTG Boot - by Andrew2 - 01-10-2016, 07:48 AM
RE: USB OTG Boot - by ssvb - 01-10-2016, 08:00 AM
RE: USB OTG Boot - by Andrew2 - 01-10-2016, 08:17 AM
RE: USB OTG Boot - by ssvb - 01-10-2016, 08:19 AM
RE: USB OTG Boot - by ssvb - 01-10-2016, 02:45 PM
RE: USB OTG Boot - by tllim - 01-10-2016, 03:29 PM
RE: USB OTG Boot - by ssvb - 01-10-2016, 04:47 PM
RE: USB OTG Boot - by tllim - 01-10-2016, 06:04 PM
RE: USB OTG Boot - by devilsclaw - 01-10-2016, 07:20 PM
RE: USB OTG Boot - by ssvb - 01-10-2016, 09:56 PM
RE: USB OTG Boot - by janjwerner - 01-22-2016, 08:39 PM
RE: USB OTG Boot - by tllim - 01-23-2016, 11:17 AM
RE: USB OTG Boot - by ssvb - 01-23-2016, 02:27 AM
RE: USB OTG Boot - by Quintus23M - 01-24-2016, 01:51 PM
RE: USB OTG Boot - by tllim - 01-24-2016, 02:04 PM
RE: USB OTG Boot - by kenjiru - 10-24-2016, 04:27 AM
RE: USB OTG Boot - by Learnincurve - 02-24-2017, 04:15 AM
RE: USB OTG Boot - by CaptainZalo - 03-01-2017, 03:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine Board using linux stuck during boot sequence ktaragorn 4 9,119 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Secure boot & OTP efuse program devangpanchal90 0 2,816 05-25-2018, 01:59 AM
Last Post: devangpanchal90
  boot process for pine a64 awaysu 1 4,781 01-24-2018, 05:09 AM
Last Post: xalius
  Can't boot headless after running update_uboot.sh Borglesnorgle Williams 2 4,762 08-17-2017, 04:08 AM
Last Post: Borglesnorgle Williams
Exclamation Pine A64 Plus Fails to Boot grobbs 35 46,251 06-28-2017, 08:53 AM
Last Post: sarav_sara
  Boot issues: What todo when you muck up your FSTAB file Dagremote 1 4,178 04-16-2017, 10:28 PM
Last Post: pfeerick
Question Pine64 cannot boot jamiechang917 6 10,697 04-16-2017, 10:21 PM
Last Post: pfeerick
  U-Boot for A64 git longsleep 38 75,449 03-21-2017, 01:59 PM
Last Post: longsleep
  OpenWRT supports ARMv8 - arm64, u-boot problem? rgdonato 4 7,433 03-20-2017, 03:59 PM
Last Post: rgdonato
  How to boot alternative kernel image with u-boot? zhouer 3 7,449 06-27-2016, 04:15 AM
Last Post: ssvb

Forum Jump:


Users browsing this thread: 2 Guest(s)