Showing posts with label embedded. Show all posts
Showing posts with label embedded. Show all posts

Friday, April 9, 2010

Error when reading rootfs

Embedded linux on SD card, Hiding problems in many case as doubt.
  • sometime kernel could not boot
  • Kernel panic - not syncing: No init found, Try passing init= option to kernel".
  • sometime read SD card
  • SD card Buffer I/O error.
  • sometime dd command could not done
  • read error or write error
Please consider it before doubt your embedded linux system.
1st,that kernel panic is evidence u-boot,grub,any boot system are maybe ok.
2nd,try mkfs against rootfs partition and write rootfs all again.
3rd,change SD card writer that using write rootfs.

In my experience mostly SD card writer are problem.
Error occur while dd command, Usually SD card problem. I used many SD card even famous brand.
But how do you believe it?

There is much much illegal copy brand.

It is little help to choice with R mark or not when you purchase SD card.
It is much case in dd command error that using without R mark SD card.
By the way how weak SD card...

Tuesday, January 12, 2010

Bitbake how to rebuild easy

My proposal is TAKE SNAP SHOT.


When change foo.config for configure.
Bitbake does not rebuild include that reconfigure pkg.
For example, When add some recipes to ~/images/omap3-console-image.bb.
1st build,that added recipes include for deploy images.

But

,when need reconfigure again for that. 2nd times,never include what you want.(from my experience).
It is sure rebuild by rm -rf tmp, But it will make again soooooooooooooo long building time.
My Idea is use VM.(many people use it,when developing)
It is best use-case that TAKE SNAP SHOT since VM take snap shot history ever(maybe), Just build simple omap3-console-image then Take snap shot and after that easy to add recipes,reconfigure,rebuild... also faster.