Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A33(A23) seem non supported in uart0 hello world ? #64

Open
miky2k opened this issue Oct 24, 2016 · 3 comments
Open

A33(A23) seem non supported in uart0 hello world ? #64

miky2k opened this issue Oct 24, 2016 · 3 comments

Comments

@miky2k
Copy link

miky2k commented Oct 24, 2016

Hi,
I'm trying to boot A33 tablet with fel or sdcard ,
i have breakout sd adapter , can i use uart0 hello world mixing uart0 and SD?

And with fel is possible to load hello-world image to sram and execute(whiteout SD)?

@n1tehawk
Copy link
Collaborator

Hello far5893,

Currently there is no support for A33/A23, as we're lacking the necessary hardware to test it. However, the code itself is pretty much self-explanatory, and simple enough to adjust for other SoCs. You'd mostly have to figure out the correct GPIO pin mapping (from the datasheet) and extend gpio_init() accordingly.

The SD breakout might require some extra care in getting the "pinmux" (GPIO multiplexing functions) setup right. See the A13 case for an example of this.

Using an SD breakout adapter complicates things in two ways:

  1. You can't use a regular (µ)SD card at the same time, as they both occupy the same slot - i.e. are mutually exclusive. That sort of rules out using uart0-helloworld-sdboot via SD card, as you wouldn't be able to get at the UART lines.
  2. When using the adapter, signal lines from the SoC need to get multiplexed (= reassigned) from their original "SD card" function (mmc0) to serial input/output (uart0). So even if you managed to physically connect both a memory card and the breakout, you could't use both functions at the same time logically.

That said: Yes, it's possible to upload and execute the uart0-helloworld-sdboot.sunxi via USB in FEL mode, eliminating the need for / use of a memory card.

Regards, NiteHawk

@Fusseldieb
Copy link

Fusseldieb commented Jul 19, 2023

That said: Yes, it's possible to upload and execute the uart0-helloworld-sdboot.sunxi via USB in FEL mode, eliminating the need for / use of a memory card.

How would that work? Pardon my lack of understanding.

ie. Which commands are needed?

@ssvb
Copy link
Contributor

ssvb commented Jul 19, 2023

Just run sunxi-fel spl uart0-helloworld-sdboot.sunxi on your computer (after switching the device in FEL mode and connecting a USB cable). There are wiki pages, which explain the process in more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants