I am trying to build an initramfs image for a ar71xx based device. The below steps captures what I thought would work but since it didn't I tried a few other things with the config's and the Makefile and I not going into the details of those as it might be misleading.
- git clone "https://github.com/openwrt/openwrt.git"
- Edited the file “target/linux/ar71xx/generic/config-default to change the following. ”CONFIG_CMDLINE="console=ttyS0,115200 loglevel=7 root=/dev/ram0 rootfstype=ramfs board=Lima"
- Under “Target System”, choose “Atheros AR7xxx/AR9xxx”, and under “Subtarget”, choose “Generic”
Under “Target Profile”, I selected the “*devices LIMA” profile.
Under “Target Images”, selected “ramdisk” (“lzma” compression) and de-selected “squashfs”.
- make -j2 V=s
After executing the above steps, I see the following initramfs images in the "bin/targets/ar71xx" directory.
I copied them (tried each image) to the target device using TFTP and then I executed the "go 0x80060400". After this I didn't see anything upcoming up in the serial terminal.
I tried this image from the above link and it works for me.
So I believe there is something wrong with my configuration of the build and there is no issues with the set-up.
Can somebody please help me out with this.