Re: [linux-sunxi] Re: A20, VGA

2022-05-01 Thread Arti Zirk
On R, 2022-04-29 at 03:58 -0700, Daft Soft wrote:
> Sorry, forgot to mention. My DT settings are:
It maynot help but some time ago I used this Armbian device tree
overlay to get VGA working on A20 Cubietruck
https://gist.github.com/artizirk/636e3fe9320bb0f6af9c419a79157346

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/4cb39126cd54b5117697ff8ae317d27cb13dc6e8.camel%40gmail.com.


Re: [linux-sunxi] A20 SOM EVB: NAND -> U-Boot -> SATA

2022-03-07 Thread Arti Zirk
On T, 2022-02-22 at 04:36 -0800, Daft Soft wrote:
> I'm working on booting A20 (Olimex A20-SOM) from NAND
Can you tell us what board version of Olimex A20-SOM you have? Starting
from revision E[1], there should be a SPI flash chip on board that
should be much easier to get booting[2].

My experience with NAND on A20 has been on Cubietech Cubietruck board
and it has never worked well with mainline.

[1]: https://github.com/OLIMEX/SOM/blob/master/A20/A20-SOM/Revision_changes.txt
[2]: https://linux-sunxi.org/Bootable_SPI_flash

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/0111dac4e48278b5b56b3a6fc264939ba48be4cd.camel%40gmail.com.


Re: [linux-sunxi] Boot to FEL mode with fastboot or adb shell

2020-06-03 Thread Arti Zirk
On T, 2020-06-02 at 22:33 -0500, Matt Krenik wrote:
> Hello Arti,
> 
> Thanks so much for your detailed reply. I tried the first suggestion
> of just zeroing out the initial SPL loader. Its not clear if I
> accessed the correct location, because there is no /dev/mmcblk0.
> Instead I tried a few different options, including: '/dev/block/by-
> name/boot'  '/dev/block/by-name/bootloader' and '/dev/block/nanda'.
> In each of the cases, I believe the device is getting past the
> initial SPL loader, but is getting stuck on the main bootloader. I'll
> keep trying to find out what memory device could store the initial
> SPL loader. 

Its possible that SPL is stored in raw NAND or in a SPI Flash chip. You
probably have to hook up serial console to figure that out.


> I did notice that when I probe 'lsusb' when the device is first
> starting, the device appears in flash mode for a small window of time
> before loading the bootloader. I have been unable to figure out a way
> to take advantage of this to flash the device (I tried starting the
> sunxi-livesuite gui), since it proceeds to the bootloader. This was
> surprising to me according to the documentation on the Sunxi linux
> wiki. Its clear that I'm working with some custom/vendor firmware
> that might differ from what is standard.
> 
> Again, thanks for your help. It seems that I'm on my own since I'm
> working with hardware that differs from what this community supports.
> But if you have any tips on what I can investigate, I would find it
> extremely helpful. 
> 
> Best,
> Matt


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/5281ce053fc8cb663a862c8130a8107abbcf0c44.camel%40gmail.com.


Re: [linux-sunxi] Boot to FEL mode with fastboot or adb shell

2020-06-01 Thread Arti Zirk
On T, 2020-05-26 at 15:21 -0700, Matt Krenik wrote:
> Is there a way that I can overwrite or corrupt the bootloader
> partition from the adb shell or with a fastboot command so that it
> will fail on the next reboot and enter FEL mode?

You could simply zero out the Initial SPL Loader

dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=40

Or you could write the special fel-boot sd card image into the internal
storage https://linux-sunxi.org/FEL#Through_a_special_SD_card_image

Mainline U-Boot defines a nice partition table[1] that allows you to
write the fel-sdboot image file[2] quite easily by running following
commands

fastboot oem format
fastboot flash loader1 fel-sdboot.sunxi
fastboot reboot

And after that boot with a clean U-Boot via FEL[3]

Nicer options would be to add a custom boot-to-fel oem command to u-
boot fastboot implementation[4]


But I think the best way would be to figure out a way to trigger FEL
via the FEL/UBOOT pin because it will be more reliable those hackish
methods.


[1]: 
https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.04/include/configs/sunxi-common.h#L467
[2]: 
https://github.com/linux-sunxi/sunxi-tools/blob/master/bin/fel-sdboot.sunxi
[3]: https://plaes.org/technotes/embedded-systems/sunxi-notes/
[4]: 
https://gitlab.denx.de/u-boot/u-boot/-/blob/v2020.04/drivers/fastboot/fb_command.c

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/a91316cf023da1a29770a65bfa5c8ce48b551532.camel%40gmail.com.


Re: [linux-sunxi] Luke and Pine64 at FOSDEM booth

2019-01-29 Thread Arti Zirk
> Just saw Luke and Pine64 guys will have some booth at Fosdem:
> 
> https://archive.fosdem.org/2018/stands/
> 

That link is for last years fosdem

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.