rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
tuxillo has quit [Remote host closed the connection]
sunshavi has quit [Ping timeout: 256 seconds]
tuxillo has joined #linux-sunxi
sunshavi has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
ganbold has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
Mangy_Dog has quit [Ping timeout: 256 seconds]
popolon has quit [Quit: WeeChat 2.9]
cnxsoft has joined #linux-sunxi
Guest30462 has quit [Quit: Client quit]
cyrozap has joined #linux-sunxi
sunshavi has quit [Ping timeout: 258 seconds]
cnxsoft has quit [Quit: cnxsoft]
sunshavi has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
lurchi_ is now known as lurchi__
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
asdf28 has joined #linux-sunxi
cmeerw has joined #linux-sunxi
asdf28 has quit [Ping timeout: 260 seconds]
diego71 has quit [Ping timeout: 240 seconds]
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
diego71 has joined #linux-sunxi
kilobyte has quit [Ping timeout: 260 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
sunshavi has quit [Ping timeout: 260 seconds]
luke-jr has quit [Excess Flood]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
luke-jr has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
gediz0x539 has quit [Quit: Leaving]
yann has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 246 seconds]
cnxsoft has joined #linux-sunxi
asdf28 has joined #linux-sunxi
jo0nas has quit [Read error: Connection reset by peer]
sanoj has joined #linux-sunxi
sanoj is now known as jo0nas
[guest290932] is now known as [headDB]
warpme_ has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
<hramrach> matteo_: if you want something like start/stop/upload file that should be fine. If you want something like print preview or realtime status that will probably need a more powerful SoC
<asdf28> hramrach: you plug this UART module into the USB port of a PC? would that make it possible to use the PC's keyboard to type on the sunxi device?
\\Mr_C\\ has joined #linux-sunxi
<montjoie> a
tuxillo has quit [Ping timeout: 260 seconds]
[headDB] is now known as [Subtle]
tuxillo has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
bauen1 has quit [Quit: changing network]
ganbold has joined #linux-sunxi
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
kilobyte has joined #linux-sunxi
[Subtle] has quit [Quit: KrkrkKRRKkrrkrkkr.]
<hramrach> asdf28: sort of. It sonnects to an uart port on the board, and u-boot typically uses an uart for serial console. Also note that these Chinese devices often come undocumented and you have to reverse-engineer what the chinese did with the chip or buy one from a vendor that knows electronics enough to provide description of the board. ALso the FT232 ones tend to have an obviousl voltage switch
<hramrach> whereas the cp210x rely on the chip to somehow get it if you power it with 3.3v with either 3.3v and 5v boards - when wired correctly.
<Ashleee> so I am trying to develop something and QEMU with aarch64 is the easiest way. But I am guessing that it still needs ATF to be compiled in? :)
<Ashleee> to boot linux
<Ashleee> with defconfig of uboot for qemu it doesn't start init
[SworDz] has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
<Ashleee> although I have no idea how to combine that with u-boot :D other than classic BL31 path etc
<mps> Ashleee: for booting aarc64 in qemu ATF is not needed
<Ashleee> hmm then I haev no idea why kernel when it should start /init from initrd it gives me
<Ashleee> [ 2.730383] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000ff00
<Ashleee> with stock debian netinstall initrd
<mps> don't know for debian but I installed alpine with qemu u-boot and with efi bootloader
<mps> even made script for installation
<Ashleee> hmm efi :) I used normal u-boot.bin as "bios" and trying to pxeload the rest
<mps> here is script for u-boot run aarch64 alpine in qemu I made http://arvanta.net/mps/install-aarch64-under-qemu.sh
<mps> maybe it can help you with debian
<Ashleee> thank
<Ashleee> thaanks
<mps> if you ever want efi script ask
<mps> iirc debian also made bootable iso image for aarch64
<Ashleee> I am trying to make something that works over PXE (headless network booted stuff) so I wanted to developp directly by pxe booting from the start :)
<mps> we have something like that in alpine linux but I never tried it
<insep_> mps: perhaps you also have a script to setup alpine image for armv7 devices? ^^
<mps> insep_: hehe, yes
<Ashleee> ooh
<Ashleee> just noticed much higher up
<Ashleee> [ 1.351176] Initramfs unpacking failed: write error
<mps> insep_: http://arvanta.net/mps/ skip language you don't understand
<Ashleee> I bet it defaults to something like 16MB RAM :D
<Ashleee> yes :D
matthias_bgg has quit [Quit: Leaving]
<Ashleee> thanks, I would not have noticed :P
<hramrach> Ashleee: I would expect you can boot grub as teh first EFI binary over PXE, no need for u-boot when you already have EFI
<Ashleee> allwinner has EFI built-in? :)
<hramrach> qemu does
<Ashleee> qemu is just for dev, the real target is actual allwinner/.. aarch64
<Ashleee> yeah
<mps> insep_: I think also I have updated script but didn't put it on site yet
<Ashleee> so I want the target to be as close as possible
<hramrach> I see, you don't want the default qemu board but actual hardware emulation
<Ashleee> yeah
<Ashleee> well
<Ashleee> anything really :)
<mps> I think arm64 supports efi but not arm32
<hramrach> either supports efi
<Ashleee> I mean the kernel will be tied to the hardware anyways, the rest is universal armv8
<mps> hramrach: aha, so I should try armv7 with efi boot
<hramrach> well, then with actual hardware you first load u-boot and then grub from u-boot, and then kernel and ramdisk from grub. Without grub it does not work for me
<hramrach> and u-boot can load grub from tftp quite fine
kaspter has quit [Ping timeout: 272 seconds]
kaspter has joined #linux-sunxi
<hramrach> mps: yes, EFI emulation in u-boot makes things much easier for distributions. All hardware is basically the same then
<mps> Ashleee: yes, we have http://boot.alpinelinux.org/
<mps> hramrach: thanks, I remember that I read something about that but didn't ever considered it
<hramrach> some boards camo with SPI NOR so you can write u-boot there and you have eterprise-class hardware with native EFI support :->
<insep_> mps: thaaaaaanks
<hramrach> the EFI support kind of sucks if you do not have serial console, though. graphics is too complex and prone to breakage
<mps> insep_: np :) also you help me with n900
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
<insep_> mps: and you me with kernel :P
cnxsoft has quit [Ping timeout: 256 seconds]
<mps> we all are on channels to help each other
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
<asdf28> hramrach: phew that sounds complicated. and the use of the module is limited to uboot? or can you do other things with it?
<hramrach> asdf28: typically you ca set up serial console in the kernel as well
<hramrach> it's actually the simplest way to communicate with a board but people are used to USB kerboards and such
AneoX has quit [Ping timeout: 246 seconds]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 260 seconds]
AneoX has joined #linux-sunxi
<asdf28> i don't have an usb keyboard so that would be useful
<asdf28> does anyone still use the old 3.4 kernel? what do you use it for?
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
lurchi_ is now known as lurchi__
niceplace has quit [Ping timeout: 272 seconds]
paulk-leonov has quit [Excess Flood]
<KotCzarny> android, ofc
paulk-leonov has joined #linux-sunxi
<bauen1> from the short view i gave the h5 sbrom sha256 software implementation it looks good, at least the constants have the right values, it also appears to do length checking correctly
<montjoie> asdf28: 3.4 is evily too old stay away of it
<hramrach> it's ok if you can pay a few people to backport fixes to it ;-)
<montjoie> money can be better spent
<hramrach> usually forward-porting the drivers to mainline works out better
sunshavi has joined #linux-sunxi
<asdf28> yes it's old but at least the graphics and audio was working, and the documentation in the wiki was good
[SworDz] is now known as [SOULWAX]
<KotCzarny> old kernel blobs are buggy
<KotCzarny> and the main reasons to moving forward was the poor state of the drivers (no matter open or not)
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
<hramrach> yes, you might get graphics and audio working but everything else is buggy because you get ancient unmaintained kernel
<asdf28> well it might be because i started with the newer kernels when they were not yet working properly, and then moved back to the old kernel and was amazed that everything worked right out of the box
<asdf28> especially the graphcis driver situation was very confusing
cnxsoft1 has quit [Quit: cnxsoft1]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
kaspter has quit [Quit: kaspter]
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
<sunshavi> pmp-p: how could i fix the sysroot?
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
jstein has joined #linux-sunxi
DonkeyHotei has quit [Ping timeout: 265 seconds]
gediz has joined #linux-sunxi
<gediz> i could finally display something using internal frame buffer: https://i.imgur.com/hJhTnps.jpg
<gediz> I've used u-boot shell for md & mw commands but I'll try to make it run bare metal on SRAM, without any DRAM (obviously)
<gediz> chip is A13 btw
<gediz> also, it is 4x horizontally and vertically scaled and 1bpp
<gediz> but I've tweaked some reserved values and DEBE is able to do 8x
<gediz> it's probably unsafe to do, no need to say.
<karlp> this guy did some earlier too, some basic sprites, on h3 at least: https://github.com/catphish/allwinner-bare-metal
<karlp> they've neglecteds the pictures of final results and installation/usage instrucntyions of course...
[SOULWAX] is now known as [async_tx]
<gediz> oh that looks really cool
<gediz> i wish i've seen it before, even though DE2 of H3 is much superior than DE of A13
<gediz> I actually want to document it but I'm not sure if it'd really give any benefit to anyone. because A13 is pretty old, you know. it's also something really specific. unnecessary for most people even
<JohnDoe_71Rus> a13 is new r8
DuClare has quit [Ping timeout: 265 seconds]
DuClare has joined #linux-sunxi
<matteo_> hramrach: there isn't going to be something havy like a realtime model of the 3D print, if that's what you mean
<matteo_> hramrach: more like a fancy printer UI (think of one of those GUIs you have on office printer/scanner/copiers)
<JohnDoe_71Rus> I would like to update the firmware of the A13 tablet. Some kind of android go. dreams...
ndufresne has quit [Quit: The Lounge - https://thelounge.chat]
ndufresne has joined #linux-sunxi
ndufresne has quit [Client Quit]
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
ndufresne has joined #linux-sunxi
iyzsong has joined #linux-sunxi
<sunshavi> i have a tablet with a10 and android 4.11 yet
DonkeyHotei has joined #linux-sunxi
rex_victor has quit [Ping timeout: 246 seconds]
rex_victor has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<willmore> Yeah, montjoie, not finding any cp210x here at all. Lots of ch340 and pl2303.
martinayotte has quit [Ping timeout: 240 seconds]
bauen1 has quit [Ping timeout: 246 seconds]
bauen1 has joined #linux-sunxi
DonkeyHotei has quit [Quit: This is a /quit message.]
jelly has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
jelly-home has joined #linux-sunxi
jelly-home is now known as jelly
cmeerw has quit [Ping timeout: 260 seconds]
asdf28 has quit [Ping timeout: 260 seconds]
sunilmohan has quit [Ping timeout: 260 seconds]
martinayotte has joined #linux-sunxi
pmp-p has quit [Ping timeout: 256 seconds]
pmp-p has joined #linux-sunxi
jstein has quit [Quit: quit]
<bauen1> it also seems quite likely that allwinner is using arms cryptocell library for the crypto engine, embedded crypto engine and security id, the descriptions from arm match the features provideded quite closely
<bauen1> but arm has all the documentation behind a login/nda wall
<karlp> is it not just the generic arm login? is it really a special one?
<bauen1> > You must have a license for the CryptoCell-312 IP to access the product documentation.
yann has quit [Ping timeout: 240 seconds]
<karlp> don't sound very sure of their IP security then do they ;)
<bauen1> lol
<hanetzer> well yeah. arm.com runs on power machines ;P
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #linux-sunxi
lurchi__ is now known as lurchi_
[async_tx] has quit [Quit: Risk V, like the lizardz?]
Mangy_Dog has quit [Ping timeout: 240 seconds]