2013-01-26, 17:25
If you passed on a NFS directory as rootfs, then removing the mount /tmp/userdata should be enough.
(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.
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
/dev/root / ext2 ro,noauto
192.168.1.16:/home/stephen/SteveDev/target / nfs ro,rsize=8192,hard,intr,nfsvers=3 0 0
export HOME=/root
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'
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)
[ 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
cp: '/etc' and '/tmp/etc' are the same file
S10setup: moving /media
cp: '/media' and '/tmp/media' are the same file
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
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
chown default.default /tmp/avahi-autoipd
(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
(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
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
(2013-01-28, 05:06)davilla Wrote: "S10setup~" hahahaha, never seen that one, damn that must have hurt
"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
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
(2013-01-28, 05:14)davilla Wrote: Just think how much you are learning
(2013-01-28, 08:32)j1nx Wrote:(2013-01-28, 05:14)davilla Wrote: Just think how much you are learning
Amen
720p50hz
null edid
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
VIC:19
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
#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?)
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?)
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
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
1|root@android:/sys/class/amhdmitx/amhdmitx0 # cat disp_cap
720p
1080i
1080p
720p50hz*
1080i50hz
1080p50hz