<theblazehen>
Hi. Not linux exactly, has anyone got a usbtty working on the exynos4412?
<theblazehen>
Or on linux
amitk has joined #linux-exynos
<theblazehen>
Or has a way to write dmesg to a block device / file?
* theblazehen
hasn't done much kernel / bootloader dev before
<theblazehen>
Basically none really, just built the linux kernel with a module to support my GPU once
<theblazehen>
I've tried using the linux mainline kernel, will that work?
<theblazehen>
Otherwise I'll give the cyanogenmod kernel a try
<theblazehen>
But it's not as new as I'd like
<theblazehen>
Using a Galaxy note 2 LTE (t0lte), with a broken display
<theblazehen>
otherwise, worst case, is it possible to send the output to a status led, a nibble at a time? I can control it from /sys/class/leds in recovery mode
<theblazehen>
At 15 fps I could do 27 KB/hour, enough for a bit of a boot log
paulk-aldrin has quit [Quit: Leaving]
<theblazehen>
Another approach that might work is loading android kernel, then kexec() to a mainline kernel, as the android one does hardware initialization?
<ayaka>
theblazehen, usb works well for me in exynos 4412
<theblazehen>
ayaka: ty. USB TTY?
<theblazehen>
Which kernel did you use?
<theblazehen>
Or uboot?
<ayaka>
theblazehen, you mean the usb serial adapter?
<theblazehen>
ayaka: Was hoping to be able to use USB CDC mode (ttyACM0) or a whichever mode gived ttyUSB0
<theblazehen>
If needed then I'll get one of those usb serial adapters
<ayaka>
theblazehen, ok, I think what you want is otg
<theblazehen>
otg and attach what? What will provide output?
<theblazehen>
otg is just letting the device be the usb host, right?
<ayaka>
theblazehen, you want to use the USB CDC connect to a PC host?
<ayaka>
or you want to connect a usb device to your exynos 4412 board?
<theblazehen>
ayaka: Yeah, connect phone to pc, and use pc to access phone's serial interface
<ayaka>
theblazehen, ok what you want is the otg in peripheral
<ayaka>
which phone do you use? what system do you install in it?
<ayaka>
all my work is done at development board and based on Linux mainline
<theblazehen>
Galaxy note 2 LTE (t0lte), would like to run gentoo or ubuntu
<ayaka>
in chroot mode?
<theblazehen>
Nah. I already have that working
<theblazehen>
But would like a newer kernel, at least 3.12
<ayaka>
so you wrote a dts for it?
<theblazehen>
Didn't see anything mentioning dts in the CM kernel, took the defconfig from the CM kernel and tried to build with odroid kernel with that config
<theblazehen>
Didn't see a dts folder where the mainline kernel has it
<ayaka>
oh, it may use the board file
<theblazehen>
And find -type d -name dts didn't give anything
<ayaka>
that kernel is too old for me, I am not sure about the otg status in that version
<theblazehen>
Ok
<ayaka>
if you want make the newer kernel work, you must write a dts for it
<theblazehen>
there is stuff mentioning OTG in the CM kernel's defconfig
<theblazehen>
Ok
<theblazehen>
Will 3.12 be using dts already?
<ayaka>
theblazehen, no so sure, maybe 3.14 for samsung
<ayaka>
not so sure
<theblazehen>
Or could kexec let me load a new kernel from old hardware details?
<ayaka>
I never tried
<ayaka>
as you don't have any physical serial port, it is too hard to debug
<theblazehen>
Yeah. How much needs to be loaded to write to a block device?
<theblazehen>
Write log to block device *
<theblazehen>
From what I can tell, looks like the bootloader initializes the mmc
<ayaka>
I don't whether that phone use the u-boot
<theblazehen>
Nope, S Boot
<theblazehen>
I can get you the log when I'm home
<ayaka>
and for the u-boot the Samsung offered has very limited capability of fb
<ayaka>
I mean file system
<theblazehen>
Yeah, which is why I was thinking raw block device
<ayaka>
yes, you could write the log of boot loader in raw to Emmc
<ayaka>
then read out after kernel is boot
<theblazehen>
I get bootloader log when I boot to recovery mode, /var/log/last_kmsg iirc
<theblazehen>
I can see failed Android kernel boot there etc, after a reboot
<theblazehen>
Stored in ram
<theblazehen>
It also includes kernel log
<theblazehen>
Also contains kernel log
<theblazehen>
But from what I could tell, seems to be an Android specific feature
<theblazehen>
Will give console=ram another go with odroid or mainline kernel I think
<theblazehen>
Not sure if messages are getting through, not showing up on my end, but have a bad connection to my bouncer (quassel)
<theblazehen>
Will be back in perhaps 2 hours or less
aalm has quit [Ping timeout: 244 seconds]
Vasco_O is now known as Vasco
afaerber has quit [Quit: Ex-Chat]
afaerber has joined #linux-exynos
afaerber has quit [Ping timeout: 250 seconds]
afaerber has joined #linux-exynos
aalm has joined #linux-exynos
paulk-collins has joined #linux-exynos
amitk has quit [Quit: leaving]
shasten__ has joined #linux-exynos
shasten__ has quit [Ping timeout: 250 seconds]
theblazehen has quit [Remote host closed the connection]