Tuesday, December 21, 2010

Beagleboard-xM - Using TFTP To Load Images

All Beagleboard-xM's owners may already known, it's impossible using u-boot to load image into uSDCard or RAM, so far. This's no matter if you do not frequently changing the image but really a trouble if your job needs to do. So, if the u-boot cannot do, why don't let the kernel and busybox does. If you like it, please follow few steps below:

LAMP: By using:
o Kernel which supports mmc driver and ethernet driver
o tinyfs_loader which provides tftp command

Step 1: Setup environment
o A beagleboard-xm with uSDCard
o An tftp, nfs server

Step 2: Install kernel and tinyfs_loader (including busybox)
o A bootable uSDCard/vfat partion, x-loader & u-boot should be there. Still need u-boot, sure :D
o Download an uImage_loader and a tinyfs_loader from there
o Put the uImage_loader to uSDCard/vfat, tinyfs_loader to nfs server (extract tinyfs_loader as sudoers)

Step 3: Change as needed
o loadimage.tftp script in tinyfs_loader is called by init.rc
o Please modify this script as needed. At minimum you should change uImage name and tftp server IP
o By default, after loading image, loadimage.tftp calls to reboot

Step 4: In action
o For loading image, the bootcmd and bootargs should be something like this
# setenv bootcmd 'mmc init; fatload mmc 0 0x80000000 uImage_loader; bootm 0x80000000;'
# setenv bootargs console=ttyS2,115200n8 rootfs=/dev/nfs rw init=/init nfsroot=${SERVER_IP}:/srv/tinyfs_loader ip=${BOARD_IP}

EOL:
o Depend on your habit of using u-boot script, this loading ciruit could be very convenient and fast
o It's possible to get back the image from uSDCard to tftp server

Saturday, November 20, 2010

Wednesday, November 3, 2010

Friday, October 1, 2010

Friday, May 28, 2010

BeagleBoard-xM. How can I wait for U.

http://beagleboard.org/hardware-xM

Monday, May 3, 2010

Brothers (2009/I)


Before leaving on his second tour in Afghanistan, Marine Captain Sam Cahill, a leader, an athlete, a good husband and father, welcomes his screw-up brother Tommy home from prison. He'd robbed a bank. In country, Sam's helicopter is shot down and all are presumed dead. Back home, while Sam wastes away as a prisoner in a remote encampment, Tommy tries to take care of the widow and her two children. While imprisoned, Sam experiences horrors unbearable, so when he's rescued and returns home, he's silent, detached, without affect, and he's convinced his wife and brother have slept together. Demons of war possess him; what will silence them?

http://www.imdb.com/title/tt0765010/

Thursday, April 29, 2010

The Incredible Hulk (2008)


Dr. Bruce Banner, thanks to a gamma ray experiment gone wrong, transforms into a giant green-skinned hulk whenever his pulse rate gets too high. Meanwhile, a soldier uses the same technology to become an evil version of the original.

http://www.imdb.com/title/tt0800080/

Wednesday, April 28, 2010

Pulp Fiction (1994)


The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.

http://www.imdb.com/title/tt0110912/

Friday, April 23, 2010

Vicky Cristina Barcelona (2008)

Two girlfriends on a summer holiday in Spain become enamored with the same painter, unaware that his ex-wife, with whom he has a tempestuous relationship, is about to re-enter the picture.

http://www.imdb.com/title/tt0497465/

Saturday, April 17, 2010

Into the Wild (2007)


After graduating from Emory University, top student and athlete Christopher McCandless abandons his possessions, gives his entire $24,000 savings account to charity and hitchhikes to Alaska to live in the wilderness. Along the way, Christopher encounters a series of characters that shape his life.
http://www.imdb.com/title/tt0758758/

Saturday, April 10, 2010

An Education (2009)



A coming-of-age story about a teenage girl in 1960s suburban London, and how her life changes with the arrival of a playboy nearly twice her age.
http://www.imdb.com/title/tt1174732/

Sunday, February 7, 2010

Tvix6600N - Simply The Best Multimedia Player Ever















Introduction


o A media player
o A product of DVICO Inc., Korean
o One of my most like personal devices

Specification

o Main Chipset: RT1283DD 400MHz processor
o Memory
- Main: 256MB DDR SDRAM
- Flash: 128MB
o Maximum Resolution: up to 1920 x 1080P
o Video Format (Containers)
- MKV, AVI, VOB
- ASF, WMV
- MPEG1/2/4 Elementary (M1V, M2V, M4V)
- MPEG1/2 PS: M2P, MPG
- MPEG2 Transport Stream: TS, TP, TRP, M2TS, MTS, MOD, TOD
- ISO, IFO
- MOV(H.264), MP4
- .MKV, .mpg, .avi, .wmv, .divx, .vob, .tp, .ts, .trp, .dat, .iso, .ifo, .m2ts, .mov, .flv, .rm, .rmvb, .asf, .mts, .mpeg
o Video Codec
- XVID SD/HD
- MPEG 1
- MPEG-2 (MP@HL)
- MPEG-4.2 (ASP@L5, 720p, 1-point GMC)
- WMV9 (MP@HL),
- H.264 (BP@L3, MP@HL4.1)
- VC-1 (MP@HL, AP@L3)
- RealVideo 8/9/10
- FLV(H.263)
o Audio Format (Container)
- AAC, M4A
- MPEG audio (MP1, MP2, MP3, MPA),
- PCM, AC3, FLAC (Audio track in MKV)
- WAV(DTS), WAVPACK, WMA (Lossless not supported)
- Ogg (Audio track in MKV except for 44.1 KHz)
o Audio Codec
- Dolby Digital
- DTS Down Maxing
- WMA, WMA Pro
- FLAC, AAC, MP1, MP2, MP3, LPCM, Vorbis
o Audio Pass-thru: DTS, Dolby Digital, Dolby Digital Plus
o Photo Image: JPG, JPEG (Progressive JPEG not supported), BMP, PNG(Interlace not supported), GIF, TIF
o Languages: English, Traditional Chinese, Japanese, Spanish, French, Germany, Italian, Korean, Dutch, Russian, Rumanian, Bulgarian, Hebrew, Czech, Vietnamese
o Subtitles: smi, smil, sub, sub/idx, srt, .ssa, .ass
o Video / Audio Output
- HDMI 1.3a (Video 24 bit), Composite
- Digital: Coaxial, Optical
- Analog: Stereo
o HDD Supported
- 3.5" SATA HDD only (NTFS,FAT32, SATA Ⅰ,Ⅱ HDD)
o Interface
- USB 2.0 Host 2 Ports (USB1/ USB2: 5V , 500 mA max), USB 2.0 Target 1 Port
- Memory Card Reader: SD, SDHC, Memory Stick, Memory Stick Pro Duo
o Network
- Wire: 10/100 Ethernet
- Wireless: Wi-Fi 802.11n
o Network Protocol
- UPnP, SAMBA Client, NFS (with Net-Share)
- SAMBA server , FTP
o Cooling Fan: Internal temperature sensing mechanism, 60mm low noise
o VFD Display: Playback mode, Elapsed time, Resolution (Dot Matrix 7 English characters and numbers)
o Power Consumption: AC 90~250V ~ 50/60Hz Free voltage.
o Dimension: 215 x 215 x70 mm (W x D x H)
o Weight: 1,381g

Saturday, January 30, 2010

It is a start

It's hard time, both working and life. I must do it well because that is a chance. And a change then should not be slipped to come off.

This post is a start. I want to record, to remind for myself and, of course, for who would like to read it.

A month is over. These are what I gain:
Hardship makes strength.
Good preparation makes good result.
Good understanding makes good control.

It was nice. Good luck to me.