• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 11
Booting Linux in a f16ref board with AMLOGIC 8736-M3 processor
#61
If you passed on a NFS directory as rootfs, then removing the mount /tmp/userdata should be enough.
Reply
#62
(2013-01-26, 17:25)j1nx Wrote: If you passed on a NFS directory as rootfs, then removing the mount /tmp/userdata should be enough.

But leaving the mkdir -p /tmp/userdata/xios/root and the mount -o bind /tmp/userdata/xios/root /root ?

Well ignoring the SD card root and trying to get /tmp/userdata to happen on my NFS rather than NAND I hit the following :

Code:
chown: unknown user/group default:default
/etc/init.d/rcS: line 27: /etc/init.d/S10setup: Permission denied
/etc/init.d/rcS: line 27: /etc/init.d/S10setup~: Permission denied
Populating  using udev: udevd[76]: error: runtime directory '/run/udev' not writable, for now falling back to '/dev/.udev'

done

Does this suggest a r/w permissions issue with my NFS rootfs?

*EDIT Red Herring This appears to have been caused by my dropbear folder in my NFS server being ro *
Reply
#63
Right.

Having another think about this. Realised I hadn't really looked in etc/fstab - doh!

That's where the other YAFFS2 bit happens - when /recovery is mounted to /dev/mtdblock3 (which I'm not interested in and have commented out?)

Also
Code:
/dev/root   /   ext2 ro,noauto
- how does that interact with my NFS rootfs? Should I replace this line with something like
Code:
192.168.1.16:/home/stephen/SteveDev/target / nfs ro,rsize=8192,hard,intr,nfsvers=3  0 0
?

Should it be read only? Where is the ext2 filesystem situated? Or does my NFS rootfs from the kernel command line over-ride this? As you can tell I'm new to this...
Reply
#64
OK - so think I've managed to get a bit further :

Commented out the yaffs2 recovery stuff in fstab. (Not sure I needed to but not sure it's a problem to?)
Commented out the yaffs2 mount and mount bind for /tmp/userdata/pivos/root in S10setup.

Now when I go to /tmp/userdata I don't get garbage.

xbmc still gives me the same error about glxinfo.

I notice that at the end of S10setup everything/something is remounted as read-only ? Does this mean I don't have any r/w filesystems other than tempfs stuff? (Is the standard set-up that the rootfs lives in one bit of NAND flash (system?) and is ro, and userdata lives in another bit of the NAND flash system (user data) and is rw? As I don't have these - do I need to make things rw?


Also I note that top of rcS includes
Code:
export HOME=/root
but that this isn't set when I get to a busybox prompt...

My environment when I get to a # prompt is :
Code:
export HOME='/'
export PATH='/sbin:/usr/sbin:/bin:/usr/bin'
export PWD='/'
export SHELL='/bin/sh'
export TERM='vt102'
export USER='root'
export a9_clk='600M'
export clk81='187500000'
export logo='osd1'
export resolution_size='1280,720'

So I type export HOME=/root manually...

My mounts are :
Code:
rootfs on / type rootfs (rw)
/dev/root on / type nfs (rw,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,port=65535,timeo=11,retrans=3,sec=sys,mountport=65535,mountproto=,addr=192.168.1.16)
devtmpfs on /dev type devtmpfs (rw,relatime,size=424320k,nr_inodes=106080,mode=755)
none on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /var/log type tmpfs (rw,noatime)
tmpfs on /var/run type tmpfs (rw,noatime)
tmpfs on /var/tmp type tmpfs (rw,noatime)
tmpfs on /var/lock type tmpfs (rw,noatime)
tmpfs on /var/cache type tmpfs (rw,noatime)
/dev/loop0 on /usr type squashfs (ro,noatime)
tmpfs on /etc type tmpfs (rw,noatime)
tmpfs on /media type tmpfs (rw,noatime)
tmpfs on /etc type tmpfs (rw,noatime)
tmpfs on /media type tmpfs (rw,noatime)
tmpfs on /root type tmpfs (rw,noatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)

(Should all these be tmpfs?)

My bootlog from sbin/init on is here :
Code:
[    7.396392] run_init_process /sbin/init.
chown: unknown user/group default:default
S10setup: init fb0, fb1
2880+0 records in
2880+0 records out
3686400 bytes (3.5MB) copied, 0.013181 seconds, 266.7MB/s
2880+0 records in
2880+0 records out
3686400 bytes (3.5MB) copied, 0.013190 seconds, 266.5MB/s
S10setup: remount / rw
S10setup: checking keys
S10setup: moving /etc
S10setup: moving /media
S10setup: mounting /tmp/userdata
S10setup: remount / ro
S10setup: switching to ondemand
S10setup: done
S10setup: init fb0, fb1
2880+0 records in
2880+0 records out
3686400 bytes (3.5MB) copied, 0.019131 seconds, 183.8MB/s
2880+0 records in
2880+0 records out
3686400 bytes (3.5MB) copied, 0.019181 seconds, 183.3MB/s
S10setup: remount / rw
S10setup: checking keys
S10setup: moving /etc
cp: '/etc' and '/tmp/etc' are the same file
S10setup: moving /media
cp: '/media' and '/tmp/media' are the same file
S10setup: mounting /tmp/userdata
S10setup: remount / ro
S10setup: switching to ondemand
S10setup: done
Populating  using udev: udevd[127]: error: runtime directory '/run/udev' not writable, for now falling back to '/dev/.udev'

done
Initializing coldplug devices
[    9.272001] <30>udevd[128]: starting version 173
done
Initializing random number generator... done.
System time was Thu Jan  1 00:05:48 UTC 1970.
Setting the System Clock using the Hardware Clock as reference...
System Clock set. System local time is now Thu Jan  1 00:05:49 UTC 1970.
Starting system message bus: [   10.841888] nftl release flush cache data: 0
[   11.039767] nftl release flush cache data: 0
[   11.039901] nftl release flush cache data: 0
done
Starting network...
net.core.rmem_max = 33554432
net.core.netdev_max_backlog = 2000
net.ipv4.udp_mem = 262144 327680 393216
net.ipv4.tcp_mem = 262144 327680 393216
ifconfig: SIOCGIFFLAGS: No such device
Getting initial time via ntp.
Starting network time protocol daemon: ntpd.
[   11.530387] set hash low=2,high=810001
Starting dropbear sshd: OK
Starting mali...
[   11.767856] Mali<2>:
[   11.767877] Mali<2>: Inserting Mali v9 device driver.
[   11.769697] Mali<2>: Compiled: Jan 24 2013, time: 22:54:46.
[   11.775239] Mali<2>: Svn revision:
[   11.779451] Mali<2>: MMU memory system initializing
[   11.783961] Mali<2>: Rendercore: subsystem global mutex initialized
[   11.789852] Mali<2>: Core: subsystem_init: Mali-400 PP
[   11.794901] Mali<2>: Core: subsystem_init: Mali-400 GP
[   11.800013] Mali<2>: Mali L2 cache system initializing
[   11.857906] mali_meson_poweron: Interrupt received.
[   11.860422] Mali<2>: MMU registered
[   11.863563] Mali<2>: MMU registered
[   11.864272] Mali<2>: Mali OS memory allocator created with max allocation size of 0x8000000 bytes, cpu_usage_adjust 0x00000000
[   11.881374] Mali<2>: Memory Validator 'Framebuffer' installed for Mali physical address base==0x84000000, size==0x06000000, cpu_adjust==0x00000000
[   11.889083] Mali<2>: Creating Mali L2 cache: Mali-400 L2 cache
[   11.901181] Mali<1>: Mali memory allocators will be used in this order of preference (lowest numbered first) :
[   11.905733] Mali<1>:     5: Mali Memory
[   11.914075] Mali<2>: Attach mmu: 0xe61c9300 to core: Mali-400 PP in subsystem: Mali-400 PP
[   11.917485] Mali<2>: Attach mmu: 0xe61c9780 to core: Mali-400 GP in subsystem: Mali-400 GP
[   11.925637] Mali<2>: Mali L2 cache system load complete
[   11.930885] Mali: Mali device driver  loaded
[   11.935077] Mali<2>: malidrv_build_info

Could
Code:
cp: '/etc' and '/tmp/etc' are the same file
S10setup: moving /media
cp: '/media' and '/tmp/media' are the same file
be significant? (I didn't comment out the echo in S10setup about /mounting tmp/userdata)
Reply
#65
Been continuing to play.

I commented out the tmpfs line /etc/fstab and this appears to have caused /tmp/ stuff to appear in my /tmp folder on my NFS share. Not sure if this is a good thing or not?

However nothing in /root or /tmp/userdata/xios/root in my NFS share, when I run xbmc I get the glxinfo error, and I can't find an xbmc.log - there's no $HOME/.xbmc folder...

Something wrong with my /root home folder?

As I'm not using any NAND flash yaffs2 stuff - Davilla/j1nx - can you suggest how best to set up so everything is on my NFS ? Think there may be some ro vs rw issues?

(Here's my gdb xbmc UART log : http://pastebin.com/W4Zk6VX8 )
Reply
#66
And more playing - though as you can tell I'm not quite sure what I'm doing (apologies for the clogged thread)

Have tried replacing the yaffs2 /tmp/userdata mount with an ext2 SDCard - still booting with my target rootfs on NFS. This seems to work - I have a xios folder on my sdcard now with a root folder in it. (So this suggests that /tmp/userdata is correctly mounting to my SD card and writing to it is happening - as the xios and xios/root directories are being created?)

I've edited S10setup to be :
Code:
mkdir -p /tmp/userdata
mount -t ext2 /dev/cardblksd1 /tmp/userdata
mkdir -p /tmp/userdata/xios/root
mount -o bind /tmp/userdata/xios/root /root

This returns the following :
Code:
chown: unknown user/group default:default
S10setup: init fb0, fb1
2880+0 records in
2880+0 records out
3686400 bytes (3.5MB) copied, 0.013211 seconds, 266.1MB/s
2880+0 records in
2880+0 records out
3686400 bytes (3.5MB) copied, 0.013236 seconds, 265.6MB/s
S10setup: remount / rw
S10setup: checking keys
S10setup: moving /etc
S10setup: moving /media
S10setup: mounting /tmp/userdata to SD CARD
[    8.662916] EXT2-fs (cardblksd1): warning: mounting unchecked fs, running e2fsck is recommended
S10setup: remount / ro
S10setup: switching to ondemand
S10setup: done

Does the chown: unknown user/group default:default mean anything? Looks to be triggered by
Code:
chown default.default /tmp/avahi-autoipd
in S05avahi-setup?

As usual I get A9 logo on uBoot, and this flashes around a bit until the S10setup runs and I get a blank screen (I assume the fb0/1 writes are clearing the framebuffers?)

However I still have to manually type EXPORT HOME=/root (shouldn't rcS do this during init.d?) and xbmc still fails with glxinfo errors. (If I try running it automatically with S95xbmc in init.d I get the assertion error)

I can't find an xbmc.log anywhere. (Could it be trying to write to a read only fs?)

Still something wrong with "/root"?

Another thought - this is nothing to do with UART vs SSH access is it? I'm using UART.
Reply
#67
Tried another route to getting HOME=/root at bootup. Edited /etc/profile to add export HOME=/root (Is this a bad thing?)

When I SSHed in I saw that HOME=/root when I did an env. I then tried to run xbmc via SSH. No dice. Same glxinfo fail.

However this time I managed to find /root/.xbmc/temp/xbmc.log

Here's the log : http://pastebin.com/9fzhjyvQ

However I think they must still be mounted on tmpfs not my SDCARD - as I don't see anything on my SD CrARD when I try and mount it on another laptop. I also got lots of ext2fs INODE issues... Might try reverting to NFS again for /root...

As ever - if I haven't bored everyone to death with this - advice appreciated.
Reply
#68
00:04:26 T:1093865120 ERROR: Unable to load special://masterprofile/guisettings.xml, creating new special://masterprofile/guisettings.xml with default values
00:04:26 T:1093865120 INFO: Resetting settings
00:04:26 T:1093865120 ERROR: DeleteFile - cant delete file </root/.xbmc/userdata/guisettings.xml>. trying lower case </root/.xbmc/userdata/guisettings.xml>
00:04:26 T:1093865120 ERROR: special://xbmc/system/guisettings.xml Doesn't contain <resolutions>

you are dead here. looks like xbmc cannot write into /root/.xbmc

Reply
#69
(2013-01-28, 04:20)davilla Wrote: 00:04:26 T:1093865120 ERROR: Unable to load special://masterprofile/guisettings.xml, creating new special://masterprofile/guisettings.xml with default values
00:04:26 T:1093865120 INFO: Resetting settings
00:04:26 T:1093865120 ERROR: DeleteFile - cant delete file </root/.xbmc/userdata/guisettings.xml>. trying lower case </root/.xbmc/userdata/guisettings.xml>
00:04:26 T:1093865120 ERROR: special://xbmc/system/guisettings.xml Doesn't contain <resolutions>

you are dead here. looks like xbmc cannot write into /root/.xbmc

Thanks Davilla.

Yep. I've changed S10setup now to mount -o remount,rw / (and I chmod -R 777 all of /root in case...) (I discovered that a big issue as to why I was getting confused was that gedit was saving backups as S10setup~ which were also running in init.d - and I hadn't got View Hidden Files enabled...)

Now get : http://pastebin.com/ktZSrPyi which seems to have got rid of the errors above? It's useful having /root in my NFS - I can now easily access the xbmc.log from my main PC.

There's a difference between SSHing in and UARTing in I've discovered. UARTing in doesn't give me HOME=/root, but SSHing in does. (I added HOME=/root to /etc/profile in case that's relevant)

I'm now doing everything via SSH.

Here is what happens when I try to run xbmc within gdb (my HDMI connected TV flashes its on-screen display indicating a video signal change) :
Code:
(gdb) run --standalone
Starting program: /usr/lib/xbmc/xbmc.bin --standalone
[Thread debugging using libthread_db enabled]
[New Thread 0x41d31460 (LWP 253)]
Restarting network time protocol daemon: ntpd
Stopping network time protocol daemon: ntpd.
Getting initial time via ntp.
Starting network time protocol daemon: ntpd.
[New Thread 0x42531460 (LWP 263)]
[New Thread 0x42d31460 (LWP 264)]
[New Thread 0x43531460 (LWP 265)]
[New Thread 0x43d31460 (LWP 266)]
[New Thread 0x4457f460 (LWP 267)]
[New Thread 0x44f3f460 (LWP 268)]
[New Thread 0x445fe460 (LWP 269)]
[Thread 0x445fe460 (LWP 269) exited]
xbmc.bin: /home/stephen/SteveDev/buildroot-AmLogic/output/build/xbmc-0987bea35050a3f5d352c3205d75b7173a7d126d/xbmc/utils/MathUtils.h:166: int MathUtils::truncate_int(double): Assertion `x > static_cast<double>((-2147483647 - 1) / 2) - 1.0' failed.

Program received signal SIGABRT, Aborted.
0x411782ec in raise () from /lib/libc.so.6

I think I've got a lot to learn...

Here's my environment in case it's relevant
Code:
HISTFILESIZE=1000
INPUTRC=/etc/inputrc
USER=root
HOSTNAME=buildroot
HOME=/root
PAGER=/bin/more
PS1=[\u@\h \W]\$
LOGNAME=root
TERM=xterm
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin
DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
HISTSIZE=1000
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:
SHELL=/bin/sh
PWD=/root
EDITOR=/bin/vi
Reply
#70
"S10setup~" hahahaha, never seen that one, damn that must have hurt Smile

"There's a difference between SSHing in and UARTing in I've discovered. UARTing in doesn't give me HOME=/root, but SSHing in does. (I added HOME=/root to /etc/profile in case that's relevant)"

Correct Smile


00:02:25 T:1093865120 ERROR: UpdateResolutions: Could not find any possible resolutions
^^ comes from egl init, it's having problems probing for supported resolution

cat /sys/class/display/mode
that should list the current display mode.

cat /sys/class/amhdmitx/amhdmitx0/disp_cap
that should list all the available display modes.

see in EGLNativeTypeAmlogic.cpp

in gdb, 'bt' or 'thread apply all bt' are good things to see

Reply
#71
(2013-01-28, 05:06)davilla Wrote: "S10setup~" hahahaha, never seen that one, damn that must have hurt Smile

"There's a difference between SSHing in and UARTing in I've discovered. UARTing in doesn't give me HOME=/root, but SSHing in does. (I added HOME=/root to /etc/profile in case that's relevant)"

Correct Smile


00:02:25 T:1093865120 ERROR: UpdateResolutions: Could not find any possible resolutions
^^ comes from egl init, it's having problems probing for supported resolution

cat /sys/class/display/mode
that should list the current display mode.

cat /sys/class/amhdmitx/amhdmitx0/disp_cap
that should list all the available display modes.

see in EGLNativeTypeAmlogic.cpp

in gdb, 'bt' or 'thread apply all bt' are good things to see

Brilliant - thanks davilla. Will have a look tomorrow. I had a feeling that error message wasn't a good one...

Reply
#72
Just think how much you are learning Smile
Reply
#73
(2013-01-28, 05:14)davilla Wrote: Just think how much you are learning Smile

Amen Rofl
Reply
#74
(2013-01-28, 05:14)davilla Wrote: Just think how much you are learning Smile

(2013-01-28, 08:32)j1nx Wrote:
(2013-01-28, 05:14)davilla Wrote: Just think how much you are learning Smile

Amen Rofl

Very true!

Well I did what davilla suggested - and the results are strange.

I get nothing when I type cat /sys/class/amhdmitx/amhdmitx0/disp_cap and just a blank line when I type cat /sys/class/display/mode either straight after logging in as root via SSH or after running xbmc. If I type cat /sys/class/hdmitx/amhdmitx0/disp_mode I get VIC:0.

Does this suggest that there's something borked in my HDMI drivers? Should I get disp_cap and display/mode information on power up?

If I run gdb on xbmc.bin and then run --standalone I DO get responses after quitting.
cat /sys/class/display/mode
Code:
720p50hz

cat /sys/class/amhdmitx/amhdmitx0/disp_cap
Code:
null edid

cat /sys/class./amhdmitx/amhdmitx0/edid
Code:
EDID block number: 0x0

Source Physical Address[a.b.c.d]: 0.0.0.0
native Mode 0, VIC (native 0):
ColorDeepSupport 0, MaxTMDSClock 0
Audio {format, channel, freq, cce}
Speaker Allocation: 0
Vendor: 0
Which is null?

cat /sys/class/amhdmitx/amhdmitx0/disp_mode
Code:
VIC:19
(Which I believe is 720p50?)

What does running in gdb do that makes these more sensible?

When I run --standalone in gdb I get :
Code:
Starting program: /usr/lib/xbmc/xbmc.bin --standalone
[Thread debugging using libthread_db enabled]
[New Thread 0x41d31460 (LWP 274)]
Restarting network time protocol daemon: ntpd
Stopping network time protocol daemon: ntpd.
Getting initial time via ntp.
Starting network time protocol daemon: ntpd.
[New Thread 0x42531460 (LWP 284)]
[New Thread 0x42d31460 (LWP 285)]
[New Thread 0x43531460 (LWP 286)]
[New Thread 0x43d31460 (LWP 287)]
[New Thread 0x4457f460 (LWP 288)]
[New Thread 0x44e2e460 (LWP 289)]
[New Thread 0x45844460 (LWP 290)]
[Thread 0x45844460 (LWP 290) exited]
xbmc.bin: /home/stephen/SteveDev/buildroot-AmLogic/output/build/xbmc-0987bea35050a3f5d352c3205d75b7173a7d126d/xbmc/utils/MathUtils.h:166: int MathUtils::truncate_int(double): Assertion `x > static_cast<double>((-2147483647 - 1) / 2) - 1.0' failed.

Program received signal SIGABRT, Aborted.
0x411782ec in raise () from /lib/libc.so.6

When I type 'bt' in gdb I get :
Code:
#0  0x411782ec in raise () from /lib/libc.so.6
#1  0x4117db04 in abort () from /lib/libc.so.6
#2  0x41170e2c in __assert_fail () from /lib/libc.so.6
#3  0x00561608 in CGUIFontTTFBase::RenderCharacter(float, float, CGUIFontTTFBase::Character const*, unsigned int, bool) ()
#4  0x7fc00000 in ?? ()
#5  0x7fc00000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

When I type 'thread apply all bt' I get :
Code:
Thread 8 (Thread 0x44e2e460 (LWP 289)):
#0  0x4121bd9c in ioctl () from /lib/libc.so.6
#1  0x412c4844 in mali_driver_ioctl () from /usr/lib/libMali.so
#2  0x412c4ed0 in arch_worker_thread () from /usr/lib/libMali.so
#3  0x405b2a90 in start_thread () from /lib/libpthread.so.0
#4  0x41224fb8 in clone () from /lib/libc.so.6

Thread 7 (Thread 0x4457f460 (LWP 288)):
#0  0x41216550 in poll () from /lib/libc.so.6
#1  0x00adab48 in PERIPHERALS::CPeripheralBusUSB::WaitForUpdate() ()
#2  0x00adac14 in PERIPHERALS::CPeripheralBusUSB::Process() ()
#3  0x00e8a29c in CThread::Action() ()
#4  0x00e8ac98 in CThread::staticThread(void*) ()
#5  0x405b2a90 in start_thread () from /lib/libpthread.so.0
#6  0x41224fb8 in clone () from /lib/libc.so.6

Thread 6 (Thread 0x43d31460 (LWP 287)):
#0  0x40ab501c in sqlite3VdbeSerialGet () from /usr/lib/libsqlite3.so.0
#1  0x40b7b008 in sqlite3VdbeExec () from /usr/lib/libsqlite3.so.0
#2  0x00000000 in ?? ()

Thread 5 (Thread 0x43531460 (LWP 286)):
#0  0x41216550 in poll () from /lib/libc.so.6
#1  0x4027bd5c in poll_func () from /usr/lib/libavahi-common.so.3
#2  0x4027a6fc in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#3  0x4027b7f0 in avahi_simple_poll_iterate ()
   from /usr/lib/libavahi-common.so.3
#4  0x4027b824 in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#5  0x4027bb9c in thread () from /usr/lib/libavahi-common.so.3
#6  0x405b2a90 in start_thread () from /lib/libpthread.so.0
#7  0x41224fb8 in clone () from /lib/libc.so.6

Thread 4 (Thread 0x42d31460 (LWP 285)):
#0  0x4121d6b0 in select () from /lib/libc.so.6
#1  0x0024a404 in JSONRPC::CTCPServer::Process() ()
#2  0x00e8a29c in CThread::Action() ()
#3  0x00e8ac98 in CThread::staticThread(void*) ()
#4  0x405b2a90 in start_thread () from /lib/libpthread.so.0
#5  0x41224fb8 in clone () from /lib/libc.so.6

Thread 3 (Thread 0x42531460 (LWP 284)):
#0  0x4121d6b0 in select () from /lib/libc.so.6
#1  0x00247acc in SOCKETS::CSocketListener::Listen(int) ()
#2  0x0023dc48 in EVENTSERVER::CEventServer::Run() ()
#3  0x0023df5c in EVENTSERVER::CEventServer::Process() ()
#4  0x00e8a29c in CThread::Action() ()
#5  0x00e8ac98 in CThread::staticThread(void*) ()
#6  0x405b2a90 in start_thread () from /lib/libpthread.so.0
#7  0x41224fb8 in clone () from /lib/libc.so.6

Thread 2 (Thread 0x41d31460 (LWP 274)):
#0  0x41216550 in poll () from /lib/libc.so.6
#1  0x40f760f4 in snd1_pcm_wait_nocheck () from /usr/lib/libasound.so.2
#2  0x00000000 in ?? ()

Thread 1 (Thread 0x41330ea0 (LWP 261)):
#0  0x411782ec in raise () from /lib/libc.so.6
#1  0x4117db04 in abort () from /lib/libc.so.6
#2  0x41170e2c in __assert_fail () from /lib/libc.so.6
#3  0x00561608 in CGUIFontTTFBase::RenderCharacter(float, float, CGUIFontTTFBase::Character const*, unsigned int, bool) ()
#4  0x7fc00000 in ?? ()
#5  0x7fc00000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

This was with the box connected directly via HDMI into my Sony Full HD tv. (Which accepts 1080i at 50/60Hz, 1080p at 24/50/60Hz and 720p at 50/60Hz - plus all the 1000/1001 variants, and the 480i/p and 576i/p SD stuff)

Something wrong with EDID reading, HDMI set-up?

This is what I have in /sys/class :
Code:
am_key_input     bluetooth        mali             switch
amaudio          card_host        mem              tsdemux
amhdmitx         deinterlace      misc             tsync
aml-sw-i2c-0     display          mtd              tty
aml_nftl         display2         nandmulti        tv
aml_rtc          dmx              net              tv2
amlogic          dvb              power_supply     ubi
amremote         efuse            ppmgr            uio
amstream         ethernet         rtc              usb_device
amstream-dev     firmware         scsi_device      vc
astream          ge2d             scsi_disk        vdec
audio_spdif      gpio             scsi_generic     vfm
audiodsp         graphics         scsi_host        video
audiodsp_pcmenc  i2c-adapter      sound            video2
audiodsplog      i2c-dev          spi_master       video4linux
avl_frontend     ieee80211        spidev           vtconsole
bdi              input            stb
block            irrcv            subtitle
Reply
#75
For info - I booted into Android on the same box and got this (this time connected to a Samsung 1680x1050 LCD I used in case the Sony was not playing EDID-ball) :
Code:
root@android:/sys/class/amhdmitx/amhdmitx0 # cat edid                          
EDID block number: 0x1
Source Physical Address[a.b.c.d]: 1.0.0.0
native Mode f1, VIC (native 19):
ColorDeepSupport 80, MaxTMDSClock 140
19 4 5 20 3 18 16 31 32 33 34
Audio {format, channel, freq, cce}
{1, 1, 7, 7}
Speaker Allocation: 1
Vendor: c03
and this
Code:
1|root@android:/sys/class/amhdmitx/amhdmitx0 # cat disp_cap

720p
1080i
1080p
720p50hz*
1080i50hz
1080p50hz

Which is much more what I'd expect.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 11

Logout Mark Read Team Forum Stats Members Help
Booting Linux in a f16ref board with AMLOGIC 8736-M3 processor1