AVS Forum banner

41 - 60 of 2569 Posts

·
Registered
Joined
·
759 Posts
ScottWD, any chance of some sort of idea when the next firmware will be available? This month, next month, March?


Cheers
 

·
Registered
Joined
·
8 Posts

Quote:
Originally Posted by zAndy12 /forum/post/15605591


ScottWD, any chance of some sort of idea when the next firmware will be available? This month, next month, March?


Cheers


And are you planning to add support for menu's in iso's?
 

·
Registered
Joined
·
6 Posts
thats the reason ii'm waiting for a update

that wil support dvd structuur menu's with iso en vob


then i'm totaly happy
 

·
Registered
Joined
·
8 Posts
and a lot of people here are happy then i guess...


@ petje:


How do you watch your iso's with several episodes now?

I mean if you have 4 episodes and you wanna watch only episode 3?
 

·
Registered
Joined
·
184 Posts
Discussion Starter #47

Quote:
Originally Posted by henkna /forum/post/15606780


And are you planning to add support for menu's in iso's?

Posts related to official wishes and non-development talk

could be posted here http://www.avsforum.com/avs-vb/showthread.php?t=1100499 and read it from start (no duplicates pls)



This thread is about kernel development, technical issues

about compiling ideas about howto compile sources

sources update, and firmware update


Keep in mind


Main discussion about WDTV is here over (130pages blabla)
http://www.avsforum.com/avs-vb/showt...80840&page=130



Please keep this thread clean and do not submit offtopic posts

I do not want to delete posts, but if it becomes necessary, I will do it. Developers do not want to waste their time reading main thread about newbie issues, how to reencode movies or pust the button before ejecting the drive from the USB slot



peace and regards

3dxr
 

·
Registered
Joined
·
29 Posts
CN4 is serial. It boots to a root shell.


By much trial and error (since WD hasn't released a kernel config file)

I managed to build a working module for one of my USB wired ethernet devices.


I also built a new busybox and a few other things in buildroot.


ext2 and ext3 are built into the WDTV kernel but the scan_manager seems

to ignore them so they are not automatically mounted.

They can be manually mounted from the shell (dunno if they work for playing

files as I just use it so far for xfering my binaries).


So, I can manually mount my flash drive and load modules (some work,

some don't) from it, configure networking, start telnetd, and telnet in.


It looks like the initrd has support for flashing / recovering from a bad flash.


I have been too chicken to try flashing a custom image as of yet.
 

·
Registered
Joined
·
32 Posts

Quote:
Originally Posted by linuxjacques /forum/post/15617110


...I have been too chicken to try flashing a custom image as of yet.

But some someone has to be the hero! I think, you'll get 10.000 community points (or whatever
) if you going to try is ....
 

·
Registered
Joined
·
29 Posts

Quote:
Originally Posted by avs_calderon /forum/post/15619909


What is the pinout for the serial port? I've been waiting for someone to get this before getting involved.
Code:
Code:
WDTV circuit board |     CN4 pinout
                     |    .---------.
                     |    | o o o o |
             CN4     |    '---------'
          .------.   |      ^ ^ ^ ^
          | .... |   |     /  | |  \\
          '------' O |   +5V RX TX gnd
'--------------------'
A level converter is required. RX and TX are from the perspective of the WDTV,

so remember to swap them to get the PC's perspective.
 

·
Registered
Joined
·
9 Posts

Quote:
Originally Posted by linuxjacques /forum/post/15622390

Code:
Code:
WDTV circuit board |     CN4 pinout
                     |    .---------.
                     |    | o o o o |
             CN4     |    '---------'
          .------.   |      ^ ^ ^ ^
          | .... |   |     /  | |  \\
          '------' O |   +5V RX TX gnd
'--------------------'
A level converter is required. RX and TX are from the perspective of the WDTV,

so remember to swap them to get the PC's perspective.


thanks, just ordered the ttl-usb converter.

Btw, have you tried backing up the firmware? even a find / | cpio -ovB -O output.cpio

image would be a start for the rest of us. As well as manipulating the boot loader to see if you can load different kernels from a prompt would be great.
 

·
Registered
Joined
·
184 Posts
Discussion Starter #53
Hello,


linuxjacques > I think you can flash own kernel becouse

some people have upgrading issues with official FW and after unsuccessfull upgrade they was able flash FW again


my 1th experience with fogotten USBflashKey in side usbport


when is USBkey connected there my WDTV is not booting normal

flashing led light and will not boot to GUI

I think this is check device try to find FW files and flashing phase.


but with USBHDD WDTV is booting to GUI only with USBkey is freezing in this phase

i have 1.00.00 original WD FW


I have one wish

could you please test how fast is copying files (cca 700mb-2gb file) between USB1 USB2 HDD

also network test will be nice

I need to know if is this function usable in real world

For BR rips copying we need few MB/s


thank you for CN4 schema very usefull


BTW: in original FW image is full filelist with md5sum

I am not sure if all files are checked before flashing from memory and after successfull check phase is FW flashed to device probably you have to update also this file
 

·
Registered
Joined
·
29 Posts

Quote:
Originally Posted by avs_calderon /forum/post/15626168


thanks, just ordered the ttl-usb converter.

Btw, have you tried backing up the firmware? even a find / | cpio -ovB -O output.cpio

image would be a start for the rest of us. As well as manipulating the boot loader to see if you can load different kernels from a prompt would be great.

This is my current understanding of the WDTV boot sequence:


The boot loader is called zboot. I believe it is in the first flash partition (mtd1).


zboot reads hardware settings from something called an XENV block.

These are things such as memory timings.


zboot then mounts the second flash partition (mtd2) which is a cromfs image.

mtd2 contains several files, some in bin and some in xrpc xload format.

The xrpc files are signed and potentially encrypted.

One of these files is the kernel image, which is apparently signed but not

encrypted.


The kernel image is validated (signature checked I guess) and then

uncompressed to RAM and executed. The kernel image includes an initrd.

This initrd is very small and limited - I think it only exists to check the rootfs

and pivot_root to it if it's OK, re-flash if it's not OK.


The third flash partition (mtd3) contains a cramfs image of the final rootfs.

This contains the firmware for the video, audio, and demux hardware

on the SMP8635, as well as the media playing applications.


I think only the final rootfs is included in the firmware updates we have

seen so far. If you want to look at it, download a firmware update, skip the

32 byte header and loop mount the cramfs image as posted earlier in this

thread.


I have not been able to interrupt the boot sequence to get a zboot prompt.

I'm not even sure there is one. I see other similar devices include YAMON

if they want that functionality.


I think running a custom kernel would require somehow creating the signed

xrpc xload kernel image and replacing the one in mtd1. This would be rather

dangerous because bad flash recovery would be lost and if the kernel didn't

work you would have a brick which would require JTAG to fix.


A custom rootfs should be much safer and easier.
 

·
Registered
Joined
·
29 Posts

Quote:
Originally Posted by 3dxr /forum/post/15629194


Hello,


linuxjacques > I think you can flash own kernel becouse

some people have upgrading issues with official FW and after unsuccessfull upgrade they was able flash FW again

To be clear, this should mean we can recover from a bad rootfs flash,

but not a bad kernel flash. The updates so far have not replaced the

kernel (I think).

Quote:
Originally Posted by 3dxr /forum/post/15629194


I have one wish

could you please test how fast is copying files (cca 700mb-2gb file) between USB1 USB2 HDD

also network test will be nice

I need to know if is this function usable in real world

For BR rips copying we need few MB/s

I will try these tests tonight when I am at home.

My tests so far have shown 14-15MB/s USBHDD read speeds.


I have not yet tested network throughput.

Quote:
Originally Posted by 3dxr /forum/post/15629194


BTW: in original FW image is full filelist with md5sum

I am not sure if all files are checked before flashing from memory and after successfull check phase is FW flashed to device probably you have to update also this file

Yes, I think the md5sums are checked on every boot by the /init script

in the initrd. This file should be easy to generate.
 

·
Registered
Joined
·
759 Posts

Quote:
Originally Posted by linuxjacques /forum/post/15632010


This is my current understanding of the WDTV boot sequence:


The boot loader is called zboot. I believe it is in the first flash partition (mtd1).


zboot reads hardware settings from something called an XENV block.

These are things such as memory timings.


zboot then mounts the second flash partition (mtd2) which is a cromfs image.

mtd2 contains several files, some in bin and some in xrpc xload format.

The xrpc files are signed and potentially encrypted.

One of these files is the kernel image, which is apparently signed but not

encrypted.


The kernel image is validated (signature checked I guess) and then

uncompressed to RAM and executed. The kernel image includes an initrd.

This initrd is very small and limited - I think it only exists to check the rootfs

and pivot_root to it if it's OK, re-flash if it's not OK.


The third flash partition (mtd3) contains a cramfs image of the final rootfs.

This contains the firmware for the video, audio, and demux hardware

on the SMP8635, as well as the media playing applications.


I think only the final rootfs is included in the firmware updates we have

seen so far. If you want to look at it, download a firmware update, skip the

32 byte header and loop mount the cramfs image as posted earlier in this

thread.


I have not been able to interrupt the boot sequence to get a zboot prompt.

I'm not even sure there is one. I see other similar devices include YAMON

if they want that functionality.


I think running a custom kernel would require somehow creating the signed

xrpc xload kernel image and replacing the one in mtd1. This would be rather

dangerous because bad flash recovery would be lost and if the kernel didn't

work you would have a brick which would require JTAG to fix.


A custom rootfs should be much safer and easier.

And in English
?
 

·
Registered
Joined
·
29 Posts

Quote:
Originally Posted by zAndy12 /forum/post/15632766


And in English
?

heh, sorry about that.


Put another way:


As things stand right now, we have a good chance of eventually

being able to add our own applications and networking support to the WDTV.


This will take work and time but I think it's doable.


I think we have a not so good chance of being able to run custom kernels,

due to the security features of the hardware.


We can load kernel modules though, so that helps.


And I haven't even begun to figure out whether we can implement our own

video jukebox software.
 

·
Registered
Joined
·
1 Posts

Quote:
Originally Posted by linuxjacques /forum/post/15635292


And I haven't even begun to figure out whether we can implement our own

video jukebox software.

Well I think I have to disappoint all who hope that e.g. xbmc will run on this box.

Of course it would make this box the sorcerer's stone of hd media players, but xbmc is heavily relying on x86 hardware and gpu and is absolutely not prepared for the MIPS arch.


Of course I don't say that it's impossible but it's unlikely to happen in the foreseeable future.


But for the more realistic goals like networking support, basic remote admin through telnet/ssh seems to be achievable which will help a lot.
 

·
Registered
Joined
·
184 Posts
Discussion Starter #59
XBMC or similiar mediacenter software isnt required

for so small device


I think most wanted can be


* network with sshfs|nfs|smb|ftp for remote copy

from wired PC to attached Storage (home NAS
Static Dropbear ??

* filemanager MC/NC style? or simple DELETE/COPY/MOVE/RENAME on all stoages

* vlc - mplayer streaming from PC or another powwerfull player


my opinion WDC will not support IPnetwork support for this device becouse its accesories for WDHDD


thats the reason why I am not talking about DTS/and other not supported codec which will be more prefered by WDC in new Firmwares.


linuxjacques> Is it possible change XML files and add/change action and add shell script ?(USB1flash USB2HDD)

for example cp -aR /tmp/USB1 /tmp/USB2/NEW_movies

what you mean is real or we need change TVdock code


What you mean about IP unicast video streaming is it CPU available serve co high load USB network adapter and send data to DMArenderer ?


could you share which modules are not working with kernel

and whick Chipset you are using as USBnet adapter ?
 
41 - 60 of 2569 Posts
Top