[LEDE-DEV] Adding support for dlink dwr-512

Giuseppe Lippolis giu.lippolis at gmail.com
Mon Oct 3 01:46:25 PDT 2016


> Von: Mathias Kresin [mailto:dev at kresin.me]
> Gesendet: Montag, 3. Oktober 2016 10:38


> > With the current change in the target/linux/ramips/image/rt305x.mk :
> > +  KERNEL := kernel-bin | patch-dtb | lzma  IMAGES := factory.bin
> > + IMAGE/factory.bin := \
> > +       append-kernel
> 
> Am I right that the missing line break before IMAGES is a typo in the
mail?
Yes, I cut it to focus on the point.

 
> Sure, that is exactly your build recipe. Append the kernel to the factory
> image and nothing more. The content of the image should be identical to
the
> kernel build artefact in build_dir/target-mipsel_24kc_musl-1.1.15/linux-
> ramips_rt305x/vmlinux-dwr-512-b.lzma
> 
> But it isn't yet a complete image since rootfs etc. is missing.

I know that the rootfs is missing in the final image, this is because at
present time I let the binboy add this part using the
lede-ramips-rt305x-root.squashfs file in bin/targets/ramips/rt305x/.

I know that I should add a tool to generate the binboy header and add the
rootfs, but I start to analyse the binboy header and it is not easy to
understand. I will do it later when I fix the lede image for this device.






More information about the Lede-dev mailing list