Month: December 2012

Never use double quote on u-boot

When you use double quotes on u-boot:

u-boot> set bootargs "console=ttymxc0,115200 root=/dev/mmcblk0p2 video=mxcdi1fb:RGB666,1280x720M@60 di1_primary gpu_nommu,gpu_memory=32M rootfstype=ext3"

It passes the double quote to Linux kernel:

Kernel command line: "console=ttymxc0,115200 root=/dev/mmcblk0p2 video=mxcdi1fb:RGB666,1280x720M@60 di1_primary gpu_nommu,gpu_memory=32M rootfstype=ext3"

Then you could receive an error like this:

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "(null)" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01            6144 mtdblock1 (driver?)
1f02            1024 mtdblock2 (driver?)
1f03          174080 mtdblock3 (driver?)
1f04          200704 mtdblock4 (driver?)
1f05           96256 mtdblock5 (driver?)
1f06          568320 mtdblock6 (driver?)
b300        31166976 mmcblk0 driver: mmcblk
  b301            4096 mmcblk0p1
  b302        31141856 mmcblk0p2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[] (unwind_backtrace+0x0/0xf0) from [] (panic+0x6c/0xe0)
[] (panic+0x6c/0xe0) from [] (mount_block_root+0x1cc/0x20c)
unwind: Unknown symbol address 80008e30
unwind: Index not found 80008e30

The right way to do it is using single quote:

u-boot> set bootargs 'console=ttymxc0,115200 root=/dev/mmcblk0p2 video=mxcdi1fb:RGB666,1280x720M@60 di1_primary gpu_nommu,gpu_memory=32M rootfstype=ext3'

Then u-boot will not pass the quotes to kernel:

Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 video=mxcdi1fb:RGB666,1280x720M@60 di1_primary gpu_nommu,gpu_memory=32M rootfstype=ext3

and your system will boot correctly:

EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 536K
INIT: version 2.88 booting

Adicione modelos 3D na sua pagina web

Muitos devem lembrar da tecnologia VRML que surgiu no final dos anos 90, mas que (felizmente ou infelizmente) não pegou.

Hoje com o padrão HTML5 temos à nossa disposição o Web3D, que já começa a demonstrar alguns frutos, como jogos ou até mesmo a visualização do corpo humano criado pelo Google para demonstrações.

Mas se você não quer ter muito trabalho, pode adicionar objetos 3D na sua pagina web usando o SketchFab:

https://sketchfab.com

Servidor DLNA

Existem vários software disponíveis para fazer stream de audio/video compativeis com o padrao DLNA, como por exemplo o minidlna e o PS3 Media Server.

Mas nenhum deles possui um desempenho e qualidade tão boa quanto o Twonky.

Eu não gosto de soluções proprietárias, e sempre que posso utilizo as opções em software livre (como o minidlna rodando no meu roteador com openwrt), but o Twonky realmente é um software que merece ser mencionado, mais possui suporte pra Linux, Android, Windows, etc.

Reference Manual for SSD1933 and SSD1935

I can’t believe when opened my email today and saw the SSD1935 reference manual sent by Solomon Systech (in fact this is the SSD1933 but this processor is just the SSD1933 with more integrated memory). Now this is a really complete manual with more than 1000 pages.

Because there is not confidential warning on it I decide to share it here:
https://www.4shared.com/office/UJ1FSp4l/SSD1933_RM_r1p4.html

Using this manual will be possible to create device driver to this processor and add open source support to VStarCAM H6837WI.