Difference between revisions of "373/Development"
(→Kernel Config) |
|||
Line 17: | Line 17: | ||
This really sucks, because it takes a '''long''' time. | This really sucks, because it takes a '''long''' time. | ||
− | Additionally, disable CONFIG_RD_GZIP, | + | Additionally, disable CONFIG_RD_GZIP, for some smaller kernel replace it with: |
+ | |||
+ | <pre> | ||
+ | CONFIG_KERNEL_LZMA=y | ||
+ | CONFIG_RD_LZMA=y | ||
+ | </pre> |
Revision as of 16:57, 27 October 2009
The 373 camera root and kernel will be compiled using OpenEmbedded on this wikipage we document some good to remember hints that most likely can be used for new development later. Babysteps ;)
Minicom
We are doing serial uploading in modemy file transfermode for Minicom this is ctrl-a s, modemy. Because browsing in Minicom is bad, it is good to set a default root directory in the configuration. Once you found your file, press Space and Enter.
In order to transfer with Minicom you will require the package lrzsz, without it nothing happens.
Kernel Config
The defkernel in OpenEmbedded has an option: CONFIG_INITRAMFS_SOURCE, this should get the full path to the rootfs we want to serve. In order to get a new rootfs into the kernel:
bitbake -c clean virtual/kernel bitbake virtual/kernel
This really sucks, because it takes a long time.
Additionally, disable CONFIG_RD_GZIP, for some smaller kernel replace it with:
CONFIG_KERNEL_LZMA=y CONFIG_RD_LZMA=y