To building environment

By , November 25, 2010 04:46

I’d like to building environment first when I wanna do something. The questions is continuous things is coming up at that time, so I has to building new environments for the new things, and so on I fulled in endless loop, the result is just to building environments at all time.

I’ve finished research project for 2010, this project is base on linux and I have to set up develop environments for developing, and did it all time.

Linux code is really interesting, I’ve not read, no coding for it.

In a way, it’s a totally FAILED project for me.

I plan to continue do some really coding work for linux Next year (Android preferred if I have chance).

Buildroot

By , June 30, 2010 05:45

buildroot

About Buildroot

Buildroot is a set of Makefiles and patches that allows you to easily generate a cross-compilation toolchain, a root filesystem and a Linux kernel image for your target. Buildroot can be used for one, two or all of these options, independently.

Buildroot is useful mainly for people working with embedded systems. Embedded systems often use processors that are not the regular x86 processors everyone is used to having in his PC. They can be PowerPC processors, MIPS processors, ARM processors, etc.

A compilation toolchain is the set of tools that allows you to compile code for your system. It consists of a compiler (in our case, gcc), binary utils like assembler and linker (in our case, binutils) and a C standard library (for example GNU Libc, uClibc or dietlibc). The system installed on your development station certainly already has a compilation toolchain that you can use to compile an application that runs on your system. If you’re using a PC, your compilation toolchain runs on an x86 processor and generates code for an x86 processor. Under most Linux systems, the compilation toolchain uses the GNU libc (glibc) as the C standard library. This compilation toolchain is called the “host compilation toolchain”. The machine on which it is running, and on which you’re working, is called the “host system”. The compilation toolchain is provided by your distribution, and Buildroot has nothing to do with it (other than using it to build a cross-compilation toolchain and other tools that are run on the development host).

As said above, the compilation toolchain that comes with your system runs on and generates code for the processor in your host system. As your embedded system has a different processor, you need a cross-compilation toolchain — a compilation toolchain that runs on your host system but generates code for your target system (and target processor). For example, if your host system uses x86 and your target system uses ARM, the regular compilation toolchain on your host runs on x86 and generates code for x86, while the cross-compilation toolchain runs on x86 and generates code for ARM.

Even if your embedded system uses an x86 processor, you might be interested in Buildroot for two reasons:

  • The compilation toolchain on your host certainly uses the GNU Libc which is a complete but huge C standard library. Instead of using GNU Libc on your target system, you can use uClibc which is a tiny C standard library. If you want to use this C library, then you need a compilation toolchain to generate binaries linked with it. Buildroot can do that for you.
  • Buildroot automates the building of a root filesystem with all needed tools like busybox. That makes it much easier than doing it by hand.

You might wonder why such a tool is needed when you can compile gcc, binutils, uClibc and all the other tools by hand. Of course doing so is possible. But, dealing with all of the configure options and problems of every gcc or binutils version is very time-consuming and uninteresting. Buildroot automates this process through the use of Makefiles and has a collection of patches for each gcc and binutils version to make them work on most architectures.

Moreover, Buildroot provides an infrastructure for reproducing the build process of your kernel, cross-toolchain, and embedded root filesystem. Being able to reproduce the build process will be useful when a component needs to be patched or updated or when another person is supposed to take over the project.

http://buildroot.net/

New iPhone

By , June 23, 2010 07:08

I heart a lot of news about iPhone4, Apple always give us great product, such as it is more like copycating.

Steve jobs is a worshipful guy, I like his presentation so much.

How to achieve the large screen in WWDC? I heart that may 3 or more projector, but Steve can go to-and-fro movement in front of the large screen. Who knows about it?

steve jobs in WWDC 2010

Happy time

By , April 22, 2010 05:57

It’s really happy days for me, recently.

I have enough time for my research project, even so I have no any progress on it, what so ever, I like it.

Social network is more and more strong now, but also takes lots of time on it, it’s interesting, but not all.

life

Google BUZZ

By , April 9, 2010 05:38

This product looks like twitter, but not same.

Google buzz has no limit with 140 words, connected google’s product like picassa, reader, etc.

The all same thing is they are social network, needs a group of people to work in it.

Google Reader

By , March 18, 2010 08:00

I’ve use the RSS reader since WEB 2.0 is coming, that may 5 or 6 yrs ago.

Earlier on I’ve use a RSS client to download feeds and then read them. The good point is I can save time for the network connecting, and read them off-line, I can’t visit internet everywhere at that time.

As time goes on and I’ve changed a job, I can browse internet at work, so I need a new tool help me read the feeds every where, and synchronous function also, then Google Reader is coming.

It’s a part of my life now. It can share some thing to my friends and vice versa. We can add some comments on a share, it’s a topic, also we can catch any interests. I’ve know a lot of good feeds from my friends, I like them.

My usual tasks every day is check my reader in browse, including news, technology, interests and life.

ps. it’s look like an AD, haha…

organic

Linux4SAM

By , March 4, 2010 04:44

Recommend a good web site for Atmel ARM, mainted by Atmel

http://linux4sam.org

Home NAS

By , March 3, 2010 06:45

nas

Network-attached storage is a hard disk storage system – including  RAID configuration, with its own LAN IP address rather than being attached to the department computer that is serving applications to a network’s workstation users. It has it’s own software for configuring and mapping file locations to the network attached devices. A NAS can be included as part of a more comprehensive solution like SAN.

As these devices have an IP address they can be accessed directly rather than through an intermediary.

In a NAS because the storage resides separate to the server applications files are served faster as they aren’t competing for the same resources.

Another advantage with Network Attached Storage is that even in environments where you have different servers with different operating systems the storage, management and the backup of the data can be centralised.

Some of the big advantages of NAS include it’s expandability. It’s easy to add extra storage. NAS also brings an extra level of fault tolerance to the network as you can include mirror RAID features.

nas front

Network Attached Storage, popularly known, as NAS is a file storage technology, which is used to store and manage large amount of data in a network, which can be retrieved by the clients whenever needed. It is being used in a large number of organizations now a days because of its awesome benefits.

TS439_Features2

What is Network Attached Storage (NAS)?

NAS is shared storage on a local area network. A NAS server is a storage appliance that consists of a high performance file server that plugs into a LAN. Unlike a general-purpose server, such as a Unix or NT server, an NAS server is a specialized appliance optimized for file serving, i.e., storing, retrieving, and serving files. An NAS server has software only for file serving.

NAS Drawing
NAS servers use small, specialized, and proprietary operating systems instead of general-purpose operating systems (OSs) such as the UNIX and Windows NT operating systems. Compared to the general-purpose OSs, NAS server OSs are smaller, faster, and optimized for the specialized task of file serving.

NAS servers support a variety of network file protocols such as Sun’s Network File System (NFS) and Microsoft’s Server Message Block / Common Internet File System (SMB/CIFS). NAS severs use open standard protocols, which allow them to interface with multiple types of client computers and operating systems.

What are The Alternatives to NAS?

  • Storage on the Client PC or Workstation (Local Disk): Private user storage, which is not easily sharable, is not scaleable, and is not centrally administered for sharing, access control, backup, etc.
  • Storage on the Server: Server software is not focused on storage delivery, architecture is not optimal for scaling or sharing, etc.
  • Direct Attached Storage (DAS): Storage that is directly attached to a server using a dedicated data connection (such as SCSI). DAS provides fast disk access because of the dedicated data connection. Like a NAS server, a DAS server is dedicated to serving storage thus freeing up general-purpose servers to run applications. But DAS servers are not optimized for file serving or handling a large number of users.
  • Storage Area Networks (SAN): Dedicated network that connects storage devices with servers. SANs are typically back end storage networks that are separate from LANs. SANs can be geographically distributed up to 6 miles and operate at gigabit speeds. SANs provide a block level interface while NAS servers provide a file-level interface. SANs are good for applications like databases that use a block level interface while NAS is better for file-level access. SANs are appropriate for data transfer intensive applications and for storing large amounts of data.

What are the Advantages of NAS?

Some advantages of NAS are:

  • Users running different types of machines (PC, Apple iMac, etc.) and running different types of operating systems (Windows, Unix, Mac OS, etc.) can share files.
  • NAS appliances are “plug-and-play” meaning that very little installation and configuration is required beyond connecting them to the LAN.
  • Less administration overhead than that required for a Unix or NT file server.
  • Centralized storage, which makes it easier and cheaper to maintain, backup, and administer (comparable to DAS). Incidentally, centralized storage is more expensive than local disks on byte cost basis, but users have to do tasks such as backups and restores on their own.
  • Separates purchase of storage from the purchase of application servers.
  • Fast response times for users since NAS are on LANs, close to the users, as opposed to being on a backbone SAN, marginally faster than DAS, but slower than a local disk.

What are Some Disadvantages of NAS?

NAS has the following disadvantages: Heavy use of NAS will clog up the shared LAN negatively affecting the users on the LAN. Therefore NAS is not suitable for data transfer intensive applications (the same applies to DAS but not to local disks; in case of SAN it depends upon whether or not a LAN interface is involved).

  • Somewhat inefficient since data transfer rides on top of standard TCP/IP protocol (as in case of DAS). In contrast, SAN uses protocols designed especially for data transfer (though the advantage disappears if a server on the LAN is used to provide a file interface to a SAN).
  • Cannot offer any storage service guarantees for mission critical operations since NAS operates in a shared environment. Only local disks and SANs (if they do not use a shared LAN) can be used to provide some service guarantees.
  • NAS is shared storage. As with other shared storage, system administrators must enforce quotas without which a few users may hog all the storage at the expense of other users.

iMac

By , March 2, 2010 06:10

iMac

‘L’ got new iMac and open the new world for him-self.

MAC is a really innovative product for PC users. People like mac’s ultimate all-in-one, friendly UI and operation, Magic mouse, and wireless.

Linux referred apple’s UI in the last few years, and it got people’s acceptable with GPL with low cost, especially for the netbook.

Influenced by ‘L’, My plan next target PC is iMac, I don’t know when should I replace current newest PC, but, it’s a target, that’s mean I will pay money to Apple, Steve Jobs will be happy~ haha, just 1 pcs, who care?

Currently I’ve interest in NAS or RAID for home, even it is too expensive for me. I’ve just like it for fast speed of hard disk R/W, and I don’t care reinstall operating system, don’t care which PC I’ve current used, and which system(Mac/Linux/Win) I’ve used..

RAID

The software engineer

By , March 1, 2010 06:22

The 16 awards Andy Brice got for his nom-functional  non-application.

We talked a lot of software engineer, most people think this is a job.

Actually “Software” is too vague..

C language based software, it is different with object-oriented C++, and also different with embedded 8-bit MCU, 16-bit CPU and 32-bit CPU, and also different with 8-bit MCU and 8-bit UOC, and also different with Mac, Linux and win32, and also different graphic and command-line, and also different with PC and network, and also different..

Java software, it is different with J2ME, J2SE and J2EE.

PHP/ASP software also different

Software language categories:

C/C++/C#/VB/VC/Python/Delphi/Perl/PHP/ASP/Java/JavaScript/JSP/Ajax/Ruby/SQL/Pascal/ASM/Fortran/Matlab/LabVIEW/APL/Ada/LOTUS/Shell

The all above software language is just a tool. For programming, the software engineer has to know about their products.

The software products is existed any where in the world, the numbers are out of counts.

And the all software needs tests.

The above software is not include Architectures.

OK stop,  I can’t imaging any more…

Refers:

http://en.wikipedia.org/wiki/List_of_programming_languages

Panorama Theme by Themocracy