Skip to content

MilkAlien/busybox_configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

busybox_configs

FG824CD (ADSL modem/router *****v4)

### .config >> busybox-1.*/
sudo apt install gcc-mips-linux-gnu
tar -xjf busybox-1*.tar.bz2
cd busybox-1.*/
make -j5 menuconfig
make -j5
sudo make -j5 install DESTDIR=/PATH/to/squashfs-root/
sudo sh ./clear_addons_other-dir.sh                 // Edit for youre dir '_install'
--------------------------------------------------
You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.
--------------------------------------------------
sudo chmod +s _install/bin/busybox    // По желанию!
sudo cp -ar _install/* /PATH/to/squashfs-root/
sudo mksquashfs squashfs-root/ gpon.squashfs -comp lzma -b 131072 -nopad

QEMU test rootfs mips

sudo apt install qemu-user-static
cd /PATH/to/squashfs-root/
sudo cp /usr/bin/qemu-mips-static .
sudo chroot . ./qemu-mips-static bin/busybox bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages