Eladnám az Nbox E2 projecthez használt HomeCast 5101 et. Raktam rá usb portot meg van rajta egy u-boot. Sajnos hardwareileg más mint az nbox igy ezzel már nem tudom folytatni a fejlesztést.
DRAM: 64 MiB
NOR: 4 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 2 1 0
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
## Booting image at a0050000 ...
Image Name: Linux-2.6.23.17_stm23_0125
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 1806795 Bytes = 1.7 MiB
Load Address: 84001000
Entry Point: 84002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Warning: Unable to determine if kernel is built for 29- or 32-bit mode!
INIT: version 2.86 booting
WAIT 1 min
Seems to be the first run - Making devices in /dev...
Mount /dev in tmpfs
Copying device nodes to /dev
4096+0 records in
4096+0 records out
4096+0 records in
4096+0 records out
load a firmware
load v firmware
Starting DEBUG Interface
Mounting local filesystems...
Cleaning /tmp /var/run /var/lock.
Hostname: ufs910.
starting telnetd
LOADING MODULES
init embxshell
init embxmailbox
init embxshm
init mme_host
interupts pre
136: 0 INTC2-IRQ mailbox 137: 0 INTC2-IRQ mailbox
interupts aft
136: 0 INTC2-IRQ mailbox 137: 0 INTC2-IRQ mailbox
insmod: cannot insert '/lib/modules/vfd.ko': File exists
MME LOADED
init AVS
insmod: cannot insert '/lib/modules/avs.ko': Input/output error
init stmfb
init player
insmod: cannot insert '/lib/modules/stmdvb.ko': unknown symbol in module
highSR patch on
insmod: cannot insert '/lib/modules/player2.ko': unknown symbol in module
insmod: cannot insert '/lib/modules/sth264pp.ko': unknown symbol in module
insmod: cannot insert '/lib/modules/stmalloc.ko': unknown symbol in module
init lircd
init frontpanel
lircd-0.8.2[5613]: lircd(userspace) ready
14W boxtype
showSinglePic /boot/bootlogo.mvi
VIDEO_SET_FORMAT failed (Bad file descriptor)
Model: ufs910
vBoxType: 2
Input device name: "TDT RC event driver"
Selected Remote: Ufs910 14Watt RemoteControl
RemoteControl Map:
MENU - 54 - 139
RED - 6D - 398
GREEN - 6E - 399
YELLOW - 6F - 400
BLUE - 70 - 401
EXIT - 55 - 102
TEXT - 3C - 388
EPG - 4C - 365
REWIND - 21 - 168
FASTFORWARD - 20 - 208
PLAY - 38 - 207
PAUSE - 39 - 119
RECORD - 37 - 167
STOP - 31 - 128
STANDBY - 0C - 116
MUTE - 0D - 113
CHANNELUP - 1E - 104
CHANNELDOWN - 1F - 109
VOLUMEUP - 10 - 115
VOLUMEDOWN - 11 - 114
INFO - 0F - 138
OK - 5C - 352
UP - 58 - 103
RIGHT - 5B - 106
DOWN - 59 - 108
LEFT - 5A - 105
0BUTTON - 00 - 11
1BUTTON - 01 - 2
2BUTTON - 02 - 3
3BUTTON - 03 - 4
4BUTTON - 04 - 5
5BUTTON - 05 - 6
6BUTTON - 06 - 7
7BUTTON - 07 - 8
8BUTTON - 08 - 9
9BUTTON - 09 - 10
LMENU - D4 - 139
LRED - ED - 398
LGREEN - EE - 399
LYELLOW - EF - 400
LBLUE - F0 - 401
LEXIT - D5 - 102
LTEXT - BC - 388
LEPG - CC - 365
LREWIND - A1 - 168
LFASTFORWARD - A0 - 208
LPLAY - B8 - 207
LPAUSE - B9 - 119
LRECORD - B7 - 167
LSTOP - B1 - 128
LSTANDBY - 8C - 116
LMUTE - 8D - 113
LCHANNELUP - 9E - 104
LCHANNELDOWN - 9F - 109
LVOLUMEUP - 90 - 115
LVOLUMEDOWN - 91 - 114
LINFO - 8F - 138
LOK - DC - 352
LUP - D8 - 103
LRIGHT - DB - 106
LDOWN - D9 - 108
LLEFT - DA - 105
L0BUTTON - 80 - 11
L1BUTTON - 81 - 2
L2BUTTON - 82 - 3
L3BUTTON - 83 - 4
L4BUTTON - 84 - 5
L5BUTTON - 85 - 6
L6BUTTON - 86 - 7
L7BUTTON - 87 - 8
L8BUTTON - 88 - 9
L9BUTTON - 89 - 10
lircd-0.8.2[5613]: accepted new client on /dev/lircd
Starting portmap daemon....
Starting FTP server: vsftpd.
Sat Dec 12 20:00:00 UTC 1970
/etc/init.d/rcS: line 202: cannot create /dev/vfd: Too many users
LOAD e2 PKT MOD
init phoenix
init cifs
init ntfs
_(Detecting SWAP partition, wait...)
sh: 82: unknown operand
_(SWAP is missing or wrong partition type)
_(SWAP file emulation activated)
_(Wait...)
/usr/lib/enigma2/python/Plugins/Extensions/PKT/swap.sh: line 24: cannot create /dev/vfd: Too many users
Killed
BusyBox v1.13.2 (2010-02-19 18:37:24 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@qboxhd#
root@qboxhd# /etc/init.d/e2start
Starting 2lcamd
[2LCAMD] 2LC, version 0.2
[2LCAMD] Detected fixed reader '/dev/sc0' (sci)
[2LCAMD] Detected fixed reader '/dev/sc1' (sci)
[2LCAMD] Detected fixed readers: 2
[2LCAMD] Device '/dev/sc0' can't be opened
[2LCAMD] Device '/dev/sc1' can't be opened
[2LCAMD] Opened CONTROL handler: 'tcp:50007'
[2LCAMD] Opened HOTPLUG handler: 'unix:/tmp/2lcamd.hotplug'
[2LCAMD] Opened E2 handler: 'unix:/tmp/pmt..hotplug'
[2LCAMD] Wait for new connection ...
Starting feeder_multi
########################
Feeder started v1.0.9
########################
Starting enigma2
PYTHONPATH: /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/lib/enigma2/python
+ (1) Background File Eraser
+ (8) graphics acceleration manager
+ (9) gLCDDC
couldn't open LCD - load lcd.o!
+ (9) GFBDC
/dev/fb0: No such device
framebuffer not available.
FATAL: no framebuffer available
sh: ipkg: not found
sh: ipkg: not found
sh: ipkg: not found
Segmentation fault
enigma2 exit code 139 unknown
Restarting feeder_multi
Bár modul nem ehhez a kernelhez van azért van pár hiba.
Call trace:a/0x58
[<8401754e>] do_softirq+0x2a/0x58
[<8417afe4>] ata_int[_probe+0x168/0x1c0
[<84148fd6>] driver_probe_device+0xaa/0x1700x0/0x28
[<84003664>] kernel_thread_helper+0x4/0x10
[<8431030physmap platform flash device: 00800000 at 00000000
physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank
Support for command set 0002 not present
gen_probe: No supported Vendor Command Set found
physmap-flash physmap-flash: map_probe failed
stm-ehci stm-ehci.0: st-ehci
stm-ehci stm-ehci.0: new USB bus registered, assigned bus number 1
stm-ehci stm-ehci.0: irq 169, io mem 0x191ffe00
stm-ehci stm-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
stm-ohci stm-ohci.0: stm-ohci
stm-ohci stm-ohci.0: new USB bus registered, assigned bus number 2
stm-ohci stm-ohci.0: irq 168, io mem 0x191ffc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using stm-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
DMA: Registering platform fdma_dmac: SLIM hw 0.0, FDMA fw 3.2
STMicroelectronic--------------------
flags 0001 RAM start at 0xb0000000 sed
-----------------------------------------------------------0x00400000
cop. addr 0x10400000
ChannelrALSA device list:
#0: STMicroelectronics STx7100 cut 3.-1 SOtem
oprofile: using timer
TCP cubic registered
NET: Registerscsi 1:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
sd 1:0:0:0: [sda] 1953792 512-byte hardware sectors (1000 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] 1953792 512-byte hardware sectors (1000 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 1:0:0:0: [sda] Attached SCSI removable disk
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
usb 1-1: reset high speed USB device using stm-ehci and address 2
INIT: version 2.86 booting
INIT: /etc/inittab[69]: id field too long (max 4 characters)
Activating swap.
Checking all file systems...
fsck 1.39 (29-May-2006)
Mounting local filesystems...
Cleaning /tmp /var/run /var/lock.
Hostname: (none).
INIT: Entering runlevel: 3
Starting kernel log daemon: klogd.
Starting system log daemon: syslogd.
Generating SSH1 RSA host key: ok
Generating SSH2 RSA host key: ok
Generating SSH2 DSA host key: ok
Starting sshd:ok
Starting xinetd: ok
OSCam cardserver v0.99.4svn, build #2669 (sh4-qboxhd-linux) - (w) 2009-2010 streamboard SVN
see http://streamboard.gmc.to:8001/wiki/ for more details
based on streamboard mp-cardserver v0.9d - (w) 2004-2007 by dukat
in smartreader
oscam [-b] [-c config-dir] [-d] [-h]
-b debug level mask
0 = no debugging (default)
umps
4 = traffic from/to the reader
32 = traffic to the reader-device on I/O layer
r
root@adb5800s:~#
A flashböl tölti be az u-bootot meg a kernelt a rendszer pedig usb röl indul.
Próbáltam elinditani rajta de valószinüleg ujra le kell forditani.
Megpróbáltam de az a gond hogy kell neki egy lib amit nem találtam ubuntu-hoz.
Én nem mondtam az hogy ez az adb boot ja. Ez is STI7100 as processzor de mivel az adb hez nincs szerviz kód itt gyakorolok. Majd ha lesz akkor már tudom hogy hogyan kell felrakni rá u-bootot. Felraktam rá a t-home os flash mentést de nem indul el rajta valószinüleg más a hardware.
DRAM: 64 MiB
NOR: 4 MiB
In: serial
Out: serial
Err: serial
MB442>
MB442> protect off 1:0-66
Un-Protect Flash Sectors 0-66 in Bank # 1
................................................................... done
MB442> loadb
## Ready for binary (kermit) download to 0x84000000 at 115200 bps...
(Back at ubuntu)
----------------------------------------------------
(/box/) C-Kermit>send vmlinux.ub
(/box/) C-Kermit>c
Connecting to /dev/ttyUSB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size = 0x001d1633 = 1906227 Bytes
## Start Addr = 0x84000000
MB442> erase 1:3-66
Erase Flash Sectors 3-66 in Bank # 1
................................................................ done
MB442> cp.b 84000000 a0030000 1d1633
Copy to Flash
.................................................................................................................... done
MB442> flinfo
Bank # 1: CFI conformant FLASH (16 x 16) Size: 4 MiB in 67 Sectors
AMD Standard command set, Manufacturer ID: 0x20, Device ID: 0xCA
Erase timeout: 16384 ms, write timeout: 1 ms
Sector Start Addresses:
A0000000 A0010000 A0020000 A0030000 A0040000
A0050000 A0060000 A0070000 A0080000 A0090000
A00A0000 A00B0000 A00C0000 A00D0000 A00E0000
A00F0000 A0100000 A0110000 A0120000 A0130000
A0140000 A0150000 A0160000 A0170000 A0180000
A0190000 A01A0000 A01B0000 A01C0000 A01D0000
A01E0000 A01F0000 A0200000 A0210000 E A0220000 E
A0230000 E A0240000 E A0250000 E A0260000 E A0270000 E
A0280000 E A0290000 E A02A0000 E A02B0000 E A02C0000 E
A02D0000 E A02E0000 E A02F0000 E A0300000 E A0310000 E
A0320000 E A0330000 E A0340000 E A0350000 E A0360000 E
A0370000 E A0380000 E A0390000 E A03A0000 E A03B0000 E
A03C0000 E A03D0000 E A03E0000 E A03F0000 E A03F8000 E
A03FA000 E A03FC000 E
MB442>
Most ugy van hogy a0000000 on van az u-boot.bin. Majd a0030000 van a vmlinux kernel a0210000 on pedig egy ramdisk benne egy alap linux konfiggal. Probáltam feltenni a nbox.bin t de az nem indult el vele lehet hogy rossz cimröl van kimásolva.