Turl 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
lurchi__ has quit [Ping timeout: 260 seconds]
kuliuwu has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
lerc has joined #linux-sunxi
ganbold has joined #linux-sunxi
eric1 has joined #linux-sunxi
<eric1> hello there
jmcneill has quit [Quit: leaving]
<eric1> unsuccesful since days gettin the latest kernel on an bananapi1 to work - someone could hook me up ? the system is running with stretch now, but the kernel is still 3.4.112-sun7i ...
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
camh has quit [Quit: WeeChat 1.0.1]
ganbold has quit [Remote host closed the connection]
ganbold has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
pg12 has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 248 seconds]
TheSeven has quit [Ping timeout: 276 seconds]
lerc has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
lerc has joined #linux-sunxi
lerc has quit [Remote host closed the connection]
yann has joined #linux-sunxi
yann has quit [Ping timeout: 255 seconds]
lerc has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
willmore has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 260 seconds]
tlwoerner has quit [Quit: Leaving]
willmore has quit [Ping timeout: 260 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
leviathan_ has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9]
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
rocketpenguin has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
[7] has joined #linux-sunxi
TheSeven has quit [Ping timeout: 276 seconds]
<thebhef> Hello, all. I'm trying to flash images to an SD card on a Pine64 using FEL mode. Eventually, I want to be able to reboot the device into a mode that presents the SD card or eMMC as USB mass storage, but for right now, I'd settle for flashing the required images for running a linux distro over USB, without having to resort to using the UART. I've spent most of this week reading and experimenting with FEL and U-boot.
<thebhef> So that's what I want to do and the problems I've encountered. Does anyone have any suggestions on how to proceed from here? How can I figure out what's going wrong with my boot from the master?
<thebhef> I've also been working with a branch (u-boot-sunxi/20160126-wip-a64-experimental) with A64 support that links to Allwinner's closed-source DRAM init code. That one gets to u-boot, but isn't distributable, and appears to be very different from the master, so I'm not quite sure how to incorporate the open-source DRAM libs from the master, or if that would even be a good idea.
<thebhef> I grabbed the u-boot master (denx/master) repo, but it fails to find the main u-boot image. Board/sunxi/README.sunxi64 states that FEL is disabled because it runs in AArch32, and the SPL switches to AArch64. I added some debug prints to see what was happening, and it looks like the SPL is just not finding the boot image, which seems like it'd be before jumping back to FEL.
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 255 seconds]
camh has joined #linux-sunxi
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
camh has quit [Quit: WeeChat 1.6]
camh has joined #linux-sunxi
camh has quit [Client Quit]
camh has joined #linux-sunxi
lkcl has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
camh has quit [Quit: WeeChat 1.6]
camh has joined #linux-sunxi
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
jernej has joined #linux-sunxi
<ullbeking> From #orangepi: Where is that comparison matrix for all OPi boards?
<ullbeking> Can somebody remind me of the link please?
<KotCzarny> this one?
Mr__Anderson has joined #linux-sunxi
<ullbeking> KotCzarny: that's it! thank you.
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
thebhef has quit [Quit: Going offline, see ya! (www.adiirc.com)]
alsy has joined #linux-sunxi
<alsy> plaes: I have problems to boot a Cubietruck with your patches on top on Linus tree. It stops while loading MMC1. But there is no mmc1 on the board. the kernel is booting from mmc0.
netlynx has quit [Ping timeout: 260 seconds]
<plaes> o_O
<plaes> Cubietruck?
phipli has joined #linux-sunxi
marble_visions has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]
marble_visions has left #linux-sunxi [#linux-sunxi]
jernej has joined #linux-sunxi
<pmpp> jernej: do you know about some ddc control tool for H3 hdmi i2c, for like turning on/off and volume control of monitor ?
<jernej> pmpp: I think you mixed up something
<wens> that's not ddc
<wens> that's CEC over HDMI
<pmpp> :(
<jernej> DDC (I2C) is only for reading edid
phipli has quit [Quit: Leaving]
<ullbeking> KotCzarny: what is your opinion on the +2E? why are so many people saying that it is the best OPi?
<pmpp> jernej: my monitor supports a lot over i2c channel
<KotCzarny> because it is
<pmpp> wens: not speaking about tv
<KotCzarny> best specs, best design, best componenets
alsy2 has joined #linux-sunxi
alsy has quit [Read error: Connection reset by peer]
<ullbeking> practically speaking, how do the H3- and H5-based ones compare? especially in terms of upstream/merged support in the mainline kernel?
<jernej> pmpp: first, which kernel do you want to use? mainline?
<pmpp> jernej: both ?
<KotCzarny> h5 has much faster neon unit, but much worse software support (uboot and kernel)
<KotCzarny> so for now h3 is better
<wens> on mainline, the ddc channel is exposed as an i2c bus with Net147's patch
<wens> so you just need a generic tool (ddctool / ddcutil?)
<jernej> pmpp: BSP kernel does not expose DDC as I2C bus, so you are out of luck
<pmpp> wens: yeah that is that
<jernej> pmpp: whic soc are you talking about? H3?
kuliuwu has quit [Quit: Leaving]
<pmpp> h3/H2
<pmpp> wens: tool like that https://github.com/kfix/ddcctl
<pmpp> wens: do you have pointer to that patch ?
<jernej> pmpp: wens: net147 patch is only for old hdmi controller, not for H3/H3
<jernej> *H2
<pmpp> old like ?
<jernej> A20
<jernej> A10s
<jernej> those which doesn't have designware hdmi controller
<alsy2> plaes: I will post bootlog ASAP
TheSeven has quit [Ping timeout: 240 seconds]
<pmpp> so no actual patch for Hx mainline, and legacy miss the whole stuff that's that ?
<jernej> pmpp: You can try my hdmi wip branch on H3. I think it exposes DCC as I2C, since it uses common desingware hdmi driver
<KotCzarny> i think there was some patch for cec for legacy
<pmpp> KotCzarny: not cec
<pmpp> ddc i2c channel who serves edid
<pmpp> it can do stuff when you write at it
<plaes> there's actually branch for WIP CEC support
TheSeven has joined #linux-sunxi
ThibG has joined #linux-sunxi
<pmpp> jernej: yeah i'd like to test that
<plaes> but it's only for A10/A20/A31
<ullbeking> which of the cheaper "entry-level" OPi boards are worth getting? the idea is to use them to mess around and practice with, it doesn't matter if you blow it up, etc? zero? lite? one? something else?
<ullbeking> my +2E is going to be my "main" OPi, which I will use for primarily for flashing BIOSes
<jernej> plaes: I have a plan to port that CEC driver for H3 soon
<pmpp> ullbeking: pilite is quite hard to blow and can go away on wheels with it's wifi
<ullbeking> pmpp: pilite sounds pretty good
<pmpp> thx
<jernej> but there might be some issue with switching resolution, since sometimes TCON clock doesn't have expected value. I have to debug it...
<KotCzarny> ullbeking: it all depends on what you are going to use it for
<ullbeking> KotCzarny: my primary application is to flash BIOSes (coreboot, libreboot, etc)
<ullbeking> but considering that I'll have them and be experimenting anyway, I'm sure to find other things I want to do
<ullbeking> i would like to implement a small router or firewall for my home network, for example
<KotCzarny> to flash bioses just use cheapest available one
<KotCzarny> even 256meg one will do
<KotCzarny> and you wont be sorry if you fry it
<KotCzarny> :)
BenG83 has quit [Ping timeout: 240 seconds]
<ullbeking> some something like the zero? i'm reading here: https://linux-sunxi.org/Xunlong_Orange_Pi_Zero and it sounds like support is not great.
<ullbeking> i'm looking at that extension board and wondering how well it actually works, though
<KotCzarny> it's just board split in pieces
<KotCzarny> same functionality
<KotCzarny> just wires routed differently
<KotCzarny> also, device pages are quite outdated, use status matrix
<ullbeking> cool, thanks. that's helpful.
<ullbeking> does it make much difference whether you power the board from a 5V DC psu or a USB power supply cable? i'm guessing the 5V psu would be preferable and more stable as the power supplied by USB hosts can be a bit flakey ime
<KotCzarny> yes
<KotCzarny> usb jack is a amps bottleneck
<KotCzarny> doesnt matter as long you dont use more than 500-1000mA
<ullbeking> oh, so the problem generally is that you get too much current, instead of not enough? (hence boards betting blown up.)
<KotCzarny> no
<KotCzarny> the other way
<ullbeking> i think i need torevise my basic electronics... are you saying that too low current blows the boards up due to voltage going up?
<KotCzarny> no, too low current resets the boards
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
Andy-D_ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
<KotCzarny> o.O
<wens> "Steven: We receive subsidies from the government." lol
<KotCzarny> i guess he is quite successfull
Andy-D__ has joined #linux-sunxi
<KotCzarny> lets hope they wont make him go evil way
Andy-D_ has quit [Ping timeout: 248 seconds]
<KotCzarny> and sell ten times more boards than Raspberry Pi foundation
<KotCzarny> now that's a plan
<KotCzarny> :>
luoyi_ has quit [Ping timeout: 248 seconds]
luoyi has joined #linux-sunxi
<KotCzarny> oh, funny: Each card has to go through hardware and software tests to pass QA.
<KotCzarny> wonder what software test they run their boards through :>
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
ThibG has quit [Ping timeout: 268 seconds]
BenG83 has joined #linux-sunxi
ThibG has joined #linux-sunxi
JohnDoe6 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
reinforce has joined #linux-sunxi
nvz has joined #linux-sunxi
f0xx has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
JohnDoe6 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
lkcl has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
lkcl has quit [Ping timeout: 268 seconds]
leviathan_ has quit [Read error: Connection reset by peer]
leviathan_ has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser> Seems Xunlong works on an OPi Zero variant with exposed EMAC + GMAC: http://farm5.staticflickr.com/4280/35919268085_43dbf1ec0c_k.jpg
nvz has quit [Quit: leaving]
f0xx has quit [Ping timeout: 248 seconds]
<tkaiser> ullbeking: The problem is called under-voltage not 'amps bottleneck': http://linux-sunxi.org/Powering_the_boards_and_accessories#Power_cables
jernej has quit [Ping timeout: 255 seconds]
<KotCzarny> undervoltage happens because board tries to draw more power
<KotCzarny> and some crappy phone chargers drop voltage then
<lurchi_> KotCzarny: USB BC1.2 allows significantly lower voltages than USB1.1/2.0
<eric1> unsuccesful since days gettin the latest kernel on an bananapi1 to work - someone could hook me up ? the system is running with stretch now, but the kernel is still 3.4.112-sun7i ...
<tkaiser> KotCzarny: Ohm's law. Most of the times the cable is the problem.
<KotCzarny> there is often more than one cause
<KotCzarny> and the result is reset or corruptions
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
Andy-D__ has quit [Ping timeout: 258 seconds]
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
lkcl has joined #linux-sunxi
kloczek has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
f0xx has joined #linux-sunxi
<KotCzarny> hmm, what am i missing?
<KotCzarny> [ 2.654804] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
<KotCzarny> [ 2.654833] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 4
<KotCzarny> but no bus4 in lsusb
<KotCzarny> (a20, mainline)
lurchi_ is now known as lurchi__
<Net147> KotCzarny: did you load a USB gadget module?
<KotCzarny> yes
<KotCzarny> but i want it in host mode
<KotCzarny> maybe my dt is bad
<Net147> KotCzarny: you can force to host mode in DT
<KotCzarny> it has some experiments at the bottom because it wasnt working by default
<Net147> KotCzarny: last time I tried it was quite a while ago, but here were the changes I did - https://pastebin.com/raw/zu07iJUa
<KotCzarny> lets see..
<ullbeking> KotCzarny: tkaiser: so i'm confused between "amps bottleneck" and "undervoltage". which phenomenon applies under which circumstances?
<KotCzarny> ullbeking: both
<ullbeking> and which problems are typically exacerbated more by usb power cables and which by 5V/3A DC PSUs?
<KotCzarny> what usb cable are you using? (awg rating)
<ullbeking> i don't know awg rating
<KotCzarny> it might be printed on it
<KotCzarny> look closely
<ullbeking> i will need to go find it to have a look...
<MoeIcenowy> tkaiser: but you should realize that H3 has only one MAC
<wens> lol
<MoeIcenowy> the only dual-MAC AW SoCs are A20 and R40
Andy-D__ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
lurchi__ is now known as lurchi_
Andy-D__ has quit [Ping timeout: 240 seconds]
alsy has joined #linux-sunxi
alsy2 has quit [Read error: Connection reset by peer]
Andy-D__ has joined #linux-sunxi
alsy2 has joined #linux-sunxi
alsy has quit [Read error: Connection reset by peer]
Andy-D__ has quit [Ping timeout: 268 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
Andy-D__ has joined #linux-sunxi
TheSeven has joined #linux-sunxi
<eric1> so noone really owns an A20 banana1 and had issues ?
<libv_> eric1: when irc doesn't work, use the ml
lurchi_ is now known as lurchi__
<eric1> someetimes a little hint is helpful, as mostly minor mistakes stop the process
lurchi__ is now known as lurchi_
<libv_> consider than hint given.
<eric1> iam not responsible for fixing crappy websites and not working tutorials - arent i ?
<eric1> and even tho iam not a programmer - a step by step shud work
<eric1> and when there is no way around include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc6.h: No such file or directory ...
jernej has joined #linux-sunxi
<vpeter> eric1: you just need to create this file. Like https://lkml.org/lkml/2015/4/14/576
TheSeven has quit [Ping timeout: 240 seconds]
Andy-D_ has joined #linux-sunxi
TheSeven has joined #linux-sunxi
<eric1> let me check this, thanks vpeter
Andy-D__ has quit [Ping timeout: 260 seconds]
Hauke has joined #linux-sunxi
<Hauke> I want to add support for a PINE64 to LEDE (OpenWrt) which uses kernel 4.9, is there a git tree based on 4.9 or a list of patches needed avaliable?
<eric1> vpeter: unfortunately there is no gcc5 soruce for diff .. Linux makesystem2 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux .... root@makesystem2:/usr/src/u-boot-sunxi# find|grep gcc5
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
<eric1> many thanks vpeter. atm iam tryin to it with the mainlaine uboot to work from scratch. link bookmarked for the next try :)
jmcneill has joined #linux-sunxi
ayansh has joined #linux-sunxi
<ayansh> how do i compile *.img file with own choice of packages etc?
leviathan_ has quit [Ping timeout: 246 seconds]
leviathan_ has joined #linux-sunxi
ayansh has quit [Quit: leaving]
lkcl has quit [Ping timeout: 240 seconds]
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
jmcneill has quit [Quit: Leaving]
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
xes_ has joined #linux-sunxi
xes has quit [Ping timeout: 260 seconds]
<ullbeking> KotCzarny: i can't find my USB DC cable at the moment. in any case, what effect would you expect the awg rating to have on amps bottleneck and undervoltage?
<KotCzarny> 1.2.7 is old
<KotCzarny> oops. wrong chan
Quarx has joined #linux-sunxi
<KotCzarny> ullbeking: you cant pump enough volume (amps) through narrow pipe (24, 26, 28 and up awg)
<KotCzarny> and also ohms law
<KotCzarny> which means smaller diameter -> higher resistance -> higher voltage drop
<ullbeking> ty KotCzarny
Quarx has quit []
dave0x6d has quit [Quit: Connection closed for inactivity]
<lurchi_> ullbeking: avoid long cables - inductance can be a much severe concern than resistance
Andy-D_ has joined #linux-sunxi
<diego71> lurchi_: but if it's DC, resistance is more a concerne than inductance :)
<lurchi_> diego71: ever heard of changing power requirements?
Andy-D__ has quit [Ping timeout: 246 seconds]
<diego71> lurchi_: can you elaborate?
<lurchi_> every change in the current causes a voltage drop in the inductor (=^ cable)
<diego71> usually it's a good practice have a bypass capacitor at the power connector on pcb
<lurchi_> diego71: exactly for this reason
TheSeven has quit [Ping timeout: 255 seconds]
<lurchi_> the bypass capacitor gives you some energy budget
<lurchi_> the amount depends on a) the capacitance b) the allowable voltage drop (input voltage - minimum operating voltage)
<diego71> lurchi_: not only, it reduce changes in current
TheSeven has joined #linux-sunxi
<lurchi_> its job is to supply the energy the power supply can't provide "in time" - of course this also reduces current spikes
<diego71> lurchi_: but my point it was that if something powered by usb port, cable inductance is seldom a problem
<lurchi_> diego71: it is
lennyraposo has quit [Remote host closed the connection]
<lurchi_> 0.75m of cable adds a delay of 10ns between the SoC power consumption jumping up and the power supply actually delivering the current
<diego71> ok, but usually you have capacitor near the load, and near the power
<diego71> so it's not really a problem
lurchi_ is now known as lurchi__
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
leviathan_ has quit [Remote host closed the connection]
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-sunxi
alsy has joined #linux-sunxi
alsy2 has quit [Read error: Connection reset by peer]
ThibG has quit [Quit: Leaving]
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
<ullbeking> thanks for the heads up, lurchi__ and diego71
TheSeven has joined #linux-sunxi
lurchi__ is now known as lurchi_
dave0x6d has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 260 seconds]
<libv_> eric1: it's a fucking wiki.
<libv_> you are responsible for fixing it
<libv_> and you should heed statements that say "if irc doesn't work, try asking the mailing list"
<libv_> and i am saddened that such behaviour gets rewarded these days
libv_ is now known as libv
jernej has quit [Ping timeout: 248 seconds]
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #linux-sunxi
<eric1> first: linux-xunxi.org is not a wiki, 2nd: before you change something even in a wiki, you should be sure u have understand what u're doin and last: you should lower your arrogance
TheSeven has quit [Ping timeout: 258 seconds]
<Hauke> I build the uboot and a kernel for a PINE64, but it stops at "Starting kernel..." where do I find some documentation on this interface, probably I used the wrong entry points
<Hauke> I am new to ARM64
TheSeven has joined #linux-sunxi
<Hauke> I am using mainline uboot + mainline kernel
<libv> eric1: it quite definitely is a wiki
<libv> and it's a pretty unique wiki for any SoC family
<libv> i am the guy who originally wrote most of that, and for some reason, i am still the guy paying for the server that it runs on.
<libv> eric1: now please go back to the banana pi forums.
<BenG83> Hauke, did you include ATF in your u-boot build?
<BenG83> and which configs did you use?
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
<Hauke> BenG83: yes I added the ATF
<Hauke> BenG83: here is the output: https://pastebin.com/m09iAABr
<Hauke> I am using uboot 2017.07 with pine64 plus default config
<BenG83> Linux-4.9.37
<BenG83> what source is that?
<Hauke> Linux 4.9 with some patches to add the clocks
<eric1> thanks for the hint libv, you got me some more topics to search for on the forum :)
<Hauke> how should the kernel be loaded from mainline uboot on the A64?
<beeble> Hauke: there are no bootargs in your environment, does your boot.scr sets them? in the seconds part you just call booti without loading the kernel/initrd/fdt first
<BenG83> Hauke, you can also check Armbian's Pine64 mainline images, they have boot.scr et al
<Hauke> ok I will have a look
<Hauke> is there a script which creates them avalibale?
<beeble> not sure if it makes a lot of sense to point you to armbian if you want to integrate it in LEDE
<beeble> what does your bootscr look like?
<Hauke> this is my bootscr: https://pastebin.com/wxE3M3v2
<Hauke> now I am getting "Bad Linux ARM64 Image magic!"
<Hauke> I wanted to load a kernel created with mkimage, should I use the unmodified vmlinux ?
<beeble> you have a uimage but use booti
<beeble> booti requires the Image file
<beeble> make Image, resulting in the file arch/arm64/boot/Image
<Hauke> I also tried bootm with the image processed by mkimage
<Hauke> what is the suggested way?
reinforce has quit [Quit: Leaving.]
<Hauke> using the image from arch/arm64/boot/Image
<beeble> using Image
<beeble> on arm64
<Hauke> ok I will try tomorrow, is already pretty late here
<Hauke> then I will use the arch/arm64/boot/Image imaeg with bootm
<Hauke> booti
<beeble> you may also want to add earlycon=uart,mmio32,0x01c28000 to your bootargs. to have a uart before the devicetree uart is available
<beeble> if something goes wrong at very early stages
<beeble> only for debug purpose