====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:dverkamp:journal:week3 [2009/06/10 14:55]
drv
soc:2009:dverkamp:journal:week3 [2009/06/12 14:25] (current)
drv
Line 44: Line 44:
   make[2]: *** [applets/​applets.o] Error 1   make[2]: *** [applets/​applets.o] Error 1
  
 +==== Thursday, June 11 ====
 +
 +Dug into the busybox Makefiles to see if anything obvious was wrong there, but couldn'​t find anything useful. ​ Did another clean(er) build of uClibc just to be sure (started from scratch). ​ Same end results.
 +
 +==== Friday, June 12 ====
 +
 +Found (apparent) solution to build problems:
 +
 +  diff --git a/Makefile b/Makefile
 +  index 0dc7109..0bb6699 100644
 +  --- a/Makefile
 +  +++ b/Makefile
 +  @@ -50,7 +50,7 @@ busybox/​busybox : busybox/​.config
 +          uclibc $(MAKE) -C busybox
 +  ​
 +   ​busybox.bp : busybox/​busybox $(BOOTPACK)
 +  -       ​$(MAKE) -C busybox install
 +  +       ​uclibc $(MAKE) -C busybox install
 +          $(BOOTPACK) -o $@ busybox/​_install=/​
 +  ​
 +   ​BOOTPACKS += busybox.bp
 +
 +This allows the mkbootfs ''​make''​ to complete; now I have several .bp files, but I am not yet sure how to use them. They seem to be gzip-compressed CPIO archives; presumably they should be loaded as Linux initramfs.
 +
 +Booted a generic Linux kernel with all of the .bp files as initrds; this seems to be working, although the root of the filesystem has strange directories like {usr and {var.

QR Code
QR Code soc:2009:dverkamp:journal:week3 (generated for current page)