Skip to main content

Posts

DHCP Client Server Porting Guide Steps Here

Looking for DHCP Client Server Porting Guide Steps? read on, 1.Download udhcp-0.9.8.tar.gz and Untar it >tar -zxvf udhcp-0.9.8.tar.gz 2.You will get udhcp-0.9.8 directory.Go to that directory >cd udhcp-0.9.8 3.The code can be compiled directly for gcc.For arm-linux > Go to Makefile and uncomment the CROSS-COMPILE (line 19) and edit >CROSS-COMPILE=arm-linux- 4.Now run make command from that directory. >make 5.You will get two binaries 1.udhcpd -- DHCP Server 2.udhcpc -- DHCP Client 6.For DHCP server: 1.copy udhcpd(binary) to /usr/sbin 2.copy udhcpd.conf in the directory samples to /etc directory 3.create an empty file udhcpd.leases in /var/lib/misc directoty 7.For DHCP client: 1.copy udhcpc(binary) to /sbin directory 2.copy all the scripts except udhcpd.conf in samples directory to /usr/share/udhcpc directory 3.Create an empty directory udhcpc in /etc directory. (In thi...

NFS Based ROOTFS Mounting From NFS

How to boot from NFS? Network File System (NFS) is a Network file system protocol allowing a user on a client computer to access files over a network as easily as if the network devices were attached to its local disks. All kernels after 2.2 support NFS over TCP. Mounting the root file system from NFS steps. 1) Go to kernel source directory and type "make menuconfig". 2) In order to configure root NFS support in the kernel, it is first necessary to enable "IP Autoconfiguration". This setting is accessed by selecting "Network" and then "Networking Options" in the menu. On the Network options screen select "IP: kernel level autoconfiguration". type / to search config options from make menucnfig. 3) Main menu select "File Systems" select "Network File Systems". On the Network File Systems page select the "NFS file system support" as built-in (select as *). Then scroll down and select "Root File system...

Steps For Booting Linux Kernel From USB Pen Drive

Boot Linux kernel from USB: Here are the steps for Booting Linux kernel from USB pen drive. If you have kernel image in pen drive then use these steps to boot from pen drive. 1) Create ext2 file system on USB. 2) Copy the kernel image to USB. 3) Connect the USB to embedded board. 4) From u-boot: Execute following commands. 5) “usb start” :– This will probe for usb mass storage devices. 6) “usb storage”:- shows the details of mass storage device. 7) “ext2ls usb o” :- lists the files in the USB. 8) “ext2load usb 0 7fc0 scp_zimage “ :- copies the embedded linux kernel file from usb and stores it in RAM 7fc0 9) Then do “bootm” to boot Linux.

What is Boot loader in embedded System Init Steps

Lets talk about Boot loader in embedded system and its basics. What is Boot loader in embedded System and its initialization steps? What happens on power on? What does bootloader do on power on? Read on for answers to these question . Boot loader is a program which will execute on power-on in an embedded system. The main functionality of the boot loader is to initialize the hardware and make a platform for, and load the Operating system. Hardware initialization includes the CPU, memory controller, UART, etc. As system is up the CPU will be initialized then the memory controller (i.e. DDR controller, Flash controller) will be initialized. The Boot loader code will itself relocate to the RAM and do further hardware initialization like UART, MAC, PCI etc. The very first initialization code should be from a non-volatile memory on board, which will have the capability of XIP (execute in place). IF you have serial Flash as boot code holder, which cannot be used for XIP, then other options a...

ntfsprogs and Fuse Compilation errors and Solution here

Got some luck to compile ntfsprogs. Ntfsprogs are a collection of utilities for doing stuff with NTFS volumes. Steps to compile ntfsprogs . 1. get the FUSE and compile it. $ tar xvzf fuse-2.7.4.tar.gz $ ./configure --disable-kernel-module $ make getting error while compiling examples dir. libtool: link: gcc -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -o .libs/fusexmp fusexmp.o -pthread -pthread ../lib/.libs/libfuse.so -ldl ../lib/.libs/libfuse.so: undefined reference to `clock_gettime' make[1]: Leaving directory `/home/bhagwat/fuse-2.7.4/example' Solution is $ cd examples open Makefile go to line no 205 change the option from -ldl to -lrt $ cd ../make $ make install FUSE will be installed in default dir ie /usr/local/lib Get the ntfsprogs from linux-ntfs. untar ntfsprograms $ tar xvzf ntfsprogs-2.0.0.tar.gz $ ./configure --enable-ntfsmount still getting same error smount ntfsmount-ntfsmount.o ntfsmount-ut...

Useful Windows DOS Commands For Linux Users

Useful Windows DOS Commands For Linux Users the most useful DOS commands available in Windows XP. DOS Commands must be run at the prompt of the Cmd.exe. To open Command Prompt, click Start, click Run, type cmd, and then click OK. Now try some useful commands; 1. To convert FAt32 volume into NTFS volume use :- CONVERT F: /FS:NTFS converts F drive into NTFS format. 2. Disconnect all the connection using net use use : - net use * /del /yes This will delete all the connection to your windows system; means If you have already connected to some system with shared folders and provided log in and password. After using this command you need to type login and password again. One can disconnect specific connection using net use. : net use will display all the connection list. 3. Today I learn about SDelete command. (works on Windows NT/2000's (Win2K) ) SDelete is a command line utility that takes a number of options. In any given use, it allows you to delete one or more files and/or direc...

dda housing scheme 2008 results at www.dda.org.in

Housing Scheme 08 — the Delhi Development Authority’s latest offering of affordable houses for citizens. The much-awaited draw of lots to the Delhi Development Authority (DDA) Housing Scheme 2008 – under which 5,010 flats are up for sale. The DDA will, however, upload the list of successful allottees on its website www.dda.org.in by 3 p.m. To view your Registration/Allotment/Application Status please: 1. Select Scheme, either enter Registration/Application No. or Priority No., and select Flat category. Scheme: Of the 12.64 lakh application forms which were sold, 5,60,000 forms were found eligible for inclusion in the lottery by DDA. The list will also appear in all national newspapers on Wednesday,” said Dhar. DDA Draw Result Website ALLOTMENTS TO CTRL GOV PSU, AMBEDKAR AWAS YOJNA, CGHS, DDA HOUSING SCHEME 2006, DDA HOUSING SCHEME 2008, DWARKA HIG HOUSING SCHEME 2003 ... www.dda.org.in direct link is dda.org.in/housing/results/reg_results.asp dda,...