jstein has quit [Remote host closed the connection]
pmattern has quit [Quit: Genug für heute.]
apritzel has quit [Ping timeout: 244 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<SMDhome>
MoeIcenowy: yep, H3. I want to export my board as usb stick to the pc, but enabling this option in uboot makes it fail at compilation.
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 272 seconds]
<SMDhome>
seems like linking problems: it can't find some symbols during linkage and I think this happens because some files just don't get compiled
<SMDhome>
like g_dnl.c
<SMDhome>
actually I managed to build uboot with musb gadget support, but I need to set correct vid/pid
Nacho_ has quit [Ping timeout: 276 seconds]
cnxsoft has joined #linux-sunxi
lynxis has quit [Read error: Connection reset by peer]
lynxis has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firnsy_ is now known as firnsy
fire219 has quit [Read error: Connection reset by peer]
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
lerc has quit [Ping timeout: 244 seconds]
lerc has joined #linux-sunxi
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
vagrantc has quit [Ping timeout: 250 seconds]
<SMDhome>
I'm trying to run musb on H3 in gadget mode in uboot. It fails while trying to configure end point from hardware(ep_config_from_hw): musb_read_fifosize always returns 0, trying to read addr 1c1a000 with 0x90 offset.
<SMDhome>
So I wonder what could go wrong and how can I check what's that addr and if controller is even powered up? Thanks.
scream has joined #linux-sunxi
IgorPec has quit [Ping timeout: 276 seconds]
jernej has joined #linux-sunxi
reinforce has joined #linux-sunxi
JohnDoe7 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
bonbons has joined #linux-sunxi
zuikis has joined #linux-sunxi
Net147 has quit [Quit: Quit]
IgorPec has joined #linux-sunxi
Net147 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
Amit_t_ has joined #linux-sunxi
jernej has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
<Amit_t_>
Hello, is it possible to chroot from i686 system into 64bit filesystem ?
<wens>
iirc you can
<Amit_t_>
wens: I tried but I am seeing chroot: failed to run command `/bin/bash': Exec format error
jernej has joined #linux-sunxi
<NiteHawk>
you can chroot, but you won't be able to use any binaries (=programs) that mismatch your arch
jernej has quit [Ping timeout: 250 seconds]
<NiteHawk>
...which means the chroot will likely be mostly pointless
<MoeIcenowy>
Amit_t_: I even have tried chroot from x86_64 to armv7l
<MoeIcenowy>
wens: If I define a clock <&pll2> in the dt node of sun8iw3-ths, then get it in the driver, then clk_prepare_enable it
<MoeIcenowy>
what frequency will it be?
<wens>
Amit_t_: sorry, got it wrong, it only works if it's the other way around
<MoeIcenowy>
Amit_t_: what does wens say is right
<wens>
MoeIcenowy: huh? if you don't set anything, it will be whatever frequency that was the default
<MoeIcenowy>
wens: I don't know well about the clock framework
<wens>
MoeIcenowy: the clock framework reads out the current settings when the clock is registered
<MoeIcenowy>
wens: ok
<MoeIcenowy>
the settings as the default value set by aw?
<wens>
so the frequency will be whatever the hardware default is (or whatever the bootloader set it to)
<Wizzup_>
Amit_t_: you need a 64 bit kernel for that to work
<Wizzup_>
unless you're using emulation
paulk-collins has joined #linux-sunxi
<Amit_t_>
Wizzup_: I remember I did it from x86_64 chroot to arm64 bit filesystem, but now, I am on i686.
<Wizzup_>
everything is possible with qemu userland emulation
<Wizzup_>
for i686 -> x86_64 you need a x86_64 kernel, or emulate x86_64
IgorPec has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 244 seconds]
cnxsoft1 is now known as cnxsoft
<MoeIcenowy>
I have finally written a sun8iw3-ths driver, although I cannot promise it to work...
<MoeIcenowy>
wens: will a badly written clk driver block the booting process?
<MoeIcenowy>
(Now my tablet is blocked at the point that simplefb is not initialized...
apritzel has quit [Ping timeout: 244 seconds]
jonkerj_ has joined #linux-sunxi
jonkerj has quit [Read error: Connection reset by peer]
ccaione has quit [Ping timeout: 260 seconds]
ccaione has joined #linux-sunxi
specing has quit [Ping timeout: 276 seconds]
bonbons has quit [Ping timeout: 272 seconds]
RzR has quit [Changing host]
RzR has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
bonbons has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
BenG83 has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
Da_Coynul has joined #linux-sunxi
apritzel has joined #linux-sunxi
fire219 has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
igraltist has quit [Ping timeout: 260 seconds]
igraltist has joined #linux-sunxi
mossroy has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apritzel has quit [Ping timeout: 244 seconds]
Chrishas has joined #linux-sunxi
<Chrishas>
Hi, I was trying to compile bl31 from ATF for pine64 using a crossdev aarch64-unknown-linux-gnu on a powerpc64 gentoo and the NEXT(4096) command gave an internal linker error
<Chrishas>
when changed NEXT to ALIGN though it compiled
<Chrishas>
this is in the bl31.ld script
vagrantc has joined #linux-sunxi
IgorPec has quit [Ping timeout: 258 seconds]
phipli has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
apritzel has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
<wens>
MoeIcenowy: probably will
pietrushnic`away is now known as pietrushnic
<Wizzup_>
ssvb: I am marking A20 as 'Supported and tested'
<Wizzup_>
I guess the A10 can get the same status, but I guess I should solder the pins to a LIME A10 to fully verify that
<jmcneill>
Hi folks. Does anybody have a board with a GL830 USB to SATA bridge in it? I'm seeing a strange problem with mine -- SCSI read capacity command seems to be off by 4 sectors.
<jmcneill>
(board in this case is Sinovoip BPi-M3)
<KotCzarny>
jmcneill: check if hpa is active
<KotCzarny>
using hdparm and some normal linux
<jmcneill>
Oh interesting, I didn't know that was a thing.
<KotCzarny>
firmware could do weird things
<jmcneill>
Sure, yeah let me check that, thanks!
jstein_ has joined #linux-sunxi
jstein is now known as Guest60584
jstein_ is now known as jstein
<jmcneill>
with a different bridge chip, HPA shows supported but not enabled
<KotCzarny>
then its not that and just gl830 bug
<jmcneill>
No shocker. Does Linux have a quirk for this?
<jmcneill>
I am running FreeBSD on mine
Guest60584 has quit [Ping timeout: 264 seconds]
<KotCzarny>
you can try grabbing armbian to check what it would report
<KotCzarny>
just to confirm
<jmcneill>
Good idea
<jmcneill>
Oh, I don't see A83T on the homepage
<jmcneill>
Oh I wonder if this already has Linux on the eMMC
<jmcneill>
Nope
<KotCzarny>
banana pi m3?
<jmcneill>
yeah
<KotCzarny>
thought its some h3 variant
<jmcneill>
m2 was I think
<KotCzarny>
yeah, then you might try some of those bananian thingies (*shrugs*)
<jmcneill>
Still trying to track down a spare SD card. They love to hide.
<KotCzarny>
check in the flatmates phones
apritzel has joined #linux-sunxi
<KotCzarny>
or just make a backup of the current content
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mossroy has quit [Quit: Quitte]
<jmcneill>
found an emmc with sd adapter big enough to hold the m3's debian lite image
<jmcneill>
i don't know how i ended up with so many arm boards and so few sd cards
<KotCzarny>
i have 4 (boards)
<KotCzarny>
but i had plethora of sd cards
<KotCzarny>
and i've found that crappy nonames are not even booting sometimes
<jmcneill>
i've been pretty lucky, only one of those so far
<jmcneill>
but i generally stick to sandisk or samsung cards
<jmcneill>
i think the broken one is adata or something
<jmcneill>
and that one works in my a80 but not a83t
<jmcneill>
arg emmc didn't work
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<KotCzarny>
backup your freebsd install and use the card that works?
<jmcneill>
apparently I was using a 4GB card, i'm hunting for a smaller image
<jmcneill>
dunno where all my 8s, 16s, and 32s went
<KotCzarny>
hehe, welcome to the wonderfully bloated up images from bananias
<jmcneill>
oh bananian doesn't support it either
<KotCzarny>
:)
<jmcneill>
i'm grabbing these direct from sinovoip
<KotCzarny>
grab kernel and fex and try to apply them to any armbian image?
<jmcneill>
arch linux one looks like it will fit
<jmcneill>
I'm afraid even if I patch the read capacity response that the firmware won't let me access those last 4 sectors
<jmcneill>
(pessimistic)
<KotCzarny>
just resize the last partition?
<jmcneill>
Here's the issue (someone reported to me and I was able to reproduce it)
<KotCzarny>
i've stopped caring for all those off-by-one last sector quirks and leav ~4-8MB free
<jmcneill>
They prepared a disk on another machine. BPi-M1 I think.
<jmcneill>
Upgraded to BPi-M3, they were using GPT, with backup GPT at end of drive.
<jmcneill>
Last 4 sectors missing on BPi-M3, so the kernel (being paranoid) complained loudly about the backup being missing.
<KotCzarny>
sounds like a bad idea then
<jmcneill>
Hoping (optimistic) for an easy solution :)
<KotCzarny>
dont worry, get some proper usb--sata dongle and assume gl830 is non existant ;)
<jmcneill>
I convinced them to buy a Cubietruck instead :p
<KotCzarny>
orange pi plus 2e are quite good
<jmcneill>
We gained H3 support recently but I don't think ethernet is working yet.
<KotCzarny>
it is
<jmcneill>
I mean on FreeBSD
<KotCzarny>
one of linux-sunxi genius members wrote open source driver
<jmcneill>
I wrote the driver and have it working on A83T and A64, but don't have an H3 to test.
<KotCzarny>
which means it should be impossible for h3 to go that way too
<jmcneill>
H3 has a slightly different phy setup than the other two
<jmcneill>
Should be trivial but the guy who did the H3 port hasn't gotten around to it yet
Amit_t_ has quit [Ping timeout: 250 seconds]
<jmcneill>
Gotta jet, biab
<KotCzarny>
bb
vagrantc has joined #linux-sunxi
jernej has joined #linux-sunxi
<montjoie>
porting my driver to xBSD is on my todo list but lack of time...
<tkaiser>
jmcneill: In case you're interested in an Orange Pi Plus 2E please drop me a note. I would believe Steven/Xunlong would be happy to donate a board to a FreeBSD dev :)
vagrantc has quit [Quit: leaving]
<jmcneill>
absolutely
<jmcneill>
have you been keeping up with freebsd allwinner support recently? it has come a long way
<tkaiser>
jmcneill: Nope, but someone showed me your awesome work on BPi M3 that turns this paperweight into something useable already :)
<jmcneill>
oh that's great to hear!
<tkaiser>
Can you drop me an email address via PM so I can forward address details to Xunlong?
<jmcneill>
i'm a bit bummed at the lack of de2.0 and hdmi documentation
<jmcneill>
been doing a64 (pine64) the past week or so
<jmcneill>
freebsd is in freeze for 11 release at the moment so all in a github branch
<tkaiser>
jmcneill: Sent an email asking for your address details. BTW: Do you have some performance numbers of your Ethernet driver for A83T already?
<jmcneill>
i spent some time on it, i wasnt overly happy with it
<jmcneill>
but i did make some improvements, hw csum offload and reducing the number of tx interrupts etc
<jmcneill>
it was my first freebsd ethernet driver so a bit of learning involved
fredy has quit [Excess Flood]
<tkaiser>
jmcneill: Ok, I might look into it in a few weeks (don't want to spend too much time with BPi M3 since this board has so many design flaws -- crappy GL830 just being one of them)
BenG83 has quit [Quit: Leaving]
<jmcneill>
that would be great!
fredy has joined #linux-sunxi
<jmcneill>
efnet #bsdmips is where the freebsd arm folks hang out
pmattern has quit [Quit: Genug für heute.]
Chrishas has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
Da_Coynul has joined #linux-sunxi
_fortis has joined #linux-sunxi
Chrishas has quit [Ping timeout: 250 seconds]
book` has quit [Ping timeout: 244 seconds]
book` has joined #linux-sunxi
specing has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fdcx has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
iamfrankenstein has quit [Quit: iamfrankenstein]
phipli has quit [Ping timeout: 246 seconds]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]