Thursday, June 11, 2009

Welcome script

This is simple welcome script, asking for User selection.

dialog --title "Welcome to Messung System " --menu "\nChose the user" 11 30 2 1 "messung" 2 "root" 2>.welcome Q_MUSIC=$(cat .welcome)
This dialog box gives you two option, one is enter as Messung user or switch to Root user.

if [ "$Q_MUSIC" = "1" ]; then
dialog --msgbox "Hit Enter to continue" 5 25
else #dialog --passwordbox "Enter the Password :" 12 25 dialog --infobox "Enter the Password " 3 25 su -l

If you go for first option, then you login as a Messung user. Then welcome dialog box will appear, given below.

If you go for second option, then it will ask for password.

The welcome window for Root user is given below.

Wednesday, June 3, 2009

NAND Types

There are various types of NAND Flash available. Bare NAND chips, SmartMediaCards, DiskOnChip.

SmartMediaCards are bare NAND chips covered by thin plastic. They are very common in digital cameras and MP3 players. The card itself contains nothing smart at all. It gets smart by software.

DiskOnChip is NAND Flash with additional glue logic as a drop in replacement for NOR Flash chips. The glue logic provides direct memory access to a small address window, which contains a boot loader stub, which loads the real boot code from the NAND device. The logic contains also control registers for the static NAND chip control lines and a hardware ECC generator.