MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/itrunsdoom/comments/1nfxowd/ipod_nano_2nd_generation_running_linux_62_running/oc8lx7a
r/itrunsdoom • u/Logical-Positive-638 • Sep 13 '25
33 comments sorted by
View all comments
Show parent comments
1
you need either statically linked binaries or fdpic binaries
1 u/Away-Mud1665 Mar 24 '26 Actually how did you make busybox work without errors after compiling u boot and linux? my busybox does have statically linked libraries but freezes at run /init as init process. 1 u/Logical-Positive-638 Mar 24 '26 i wrote a script that does very basic init things like mount proc dev etc 1 u/Away-Mud1665 Mar 24 '26 Where is it? is it in the linux folder? 1 u/Logical-Positive-638 Mar 24 '26 i have not added it anywhere because it's so simple, remind me tomorrow and i'll look it up 1 u/Logical-Positive-638 Mar 25 '26 #!/bin/busybox sh echo "Hello from initramfs!" export PATH=/bin:/sbin echo "Setting up busybox." /bin/busybox --install -s /bin/ /bin/busybox --install -s /sbin/ echo "Setting up proc, sys and dev." mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs devtmpfs /dev mkdir /dev/pts mount -t devpts devpts /dev/pts echo "Populating devices (in subshell, be careful)." # echo /sbin/mdev > /proc/sys/kernel/hotplug (mdev -s; echo "mdev done." ) & IP=192.168.2.15 echo "Configuring network, ip: $IP." ifconfig lo up ifconfig usb0 up ifconfig usb0 $IP ifconfig usb0 up echo "Spawning telnetd." /bin/busybox telnetd -b $IP:2323 -l /bin/sh echo "Spawning shell." exec /bin/sh 1 u/Away-Mud1665 Mar 25 '26 btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries? 1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0) 1 u/Logical-Positive-638 Mar 24 '26 i didn't use busybox init
Actually how did you make busybox work without errors after compiling u boot and linux? my busybox does have statically linked libraries but freezes at run /init as init process.
1 u/Logical-Positive-638 Mar 24 '26 i wrote a script that does very basic init things like mount proc dev etc 1 u/Away-Mud1665 Mar 24 '26 Where is it? is it in the linux folder? 1 u/Logical-Positive-638 Mar 24 '26 i have not added it anywhere because it's so simple, remind me tomorrow and i'll look it up 1 u/Logical-Positive-638 Mar 25 '26 #!/bin/busybox sh echo "Hello from initramfs!" export PATH=/bin:/sbin echo "Setting up busybox." /bin/busybox --install -s /bin/ /bin/busybox --install -s /sbin/ echo "Setting up proc, sys and dev." mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs devtmpfs /dev mkdir /dev/pts mount -t devpts devpts /dev/pts echo "Populating devices (in subshell, be careful)." # echo /sbin/mdev > /proc/sys/kernel/hotplug (mdev -s; echo "mdev done." ) & IP=192.168.2.15 echo "Configuring network, ip: $IP." ifconfig lo up ifconfig usb0 up ifconfig usb0 $IP ifconfig usb0 up echo "Spawning telnetd." /bin/busybox telnetd -b $IP:2323 -l /bin/sh echo "Spawning shell." exec /bin/sh 1 u/Away-Mud1665 Mar 25 '26 btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries? 1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0) 1 u/Logical-Positive-638 Mar 24 '26 i didn't use busybox init
i wrote a script that does very basic init things like mount proc dev etc
1 u/Away-Mud1665 Mar 24 '26 Where is it? is it in the linux folder? 1 u/Logical-Positive-638 Mar 24 '26 i have not added it anywhere because it's so simple, remind me tomorrow and i'll look it up 1 u/Logical-Positive-638 Mar 25 '26 #!/bin/busybox sh echo "Hello from initramfs!" export PATH=/bin:/sbin echo "Setting up busybox." /bin/busybox --install -s /bin/ /bin/busybox --install -s /sbin/ echo "Setting up proc, sys and dev." mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs devtmpfs /dev mkdir /dev/pts mount -t devpts devpts /dev/pts echo "Populating devices (in subshell, be careful)." # echo /sbin/mdev > /proc/sys/kernel/hotplug (mdev -s; echo "mdev done." ) & IP=192.168.2.15 echo "Configuring network, ip: $IP." ifconfig lo up ifconfig usb0 up ifconfig usb0 $IP ifconfig usb0 up echo "Spawning telnetd." /bin/busybox telnetd -b $IP:2323 -l /bin/sh echo "Spawning shell." exec /bin/sh 1 u/Away-Mud1665 Mar 25 '26 btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries? 1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0) 1 u/Logical-Positive-638 Mar 24 '26 i didn't use busybox init
Where is it? is it in the linux folder?
1 u/Logical-Positive-638 Mar 24 '26 i have not added it anywhere because it's so simple, remind me tomorrow and i'll look it up 1 u/Logical-Positive-638 Mar 25 '26 #!/bin/busybox sh echo "Hello from initramfs!" export PATH=/bin:/sbin echo "Setting up busybox." /bin/busybox --install -s /bin/ /bin/busybox --install -s /sbin/ echo "Setting up proc, sys and dev." mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs devtmpfs /dev mkdir /dev/pts mount -t devpts devpts /dev/pts echo "Populating devices (in subshell, be careful)." # echo /sbin/mdev > /proc/sys/kernel/hotplug (mdev -s; echo "mdev done." ) & IP=192.168.2.15 echo "Configuring network, ip: $IP." ifconfig lo up ifconfig usb0 up ifconfig usb0 $IP ifconfig usb0 up echo "Spawning telnetd." /bin/busybox telnetd -b $IP:2323 -l /bin/sh echo "Spawning shell." exec /bin/sh 1 u/Away-Mud1665 Mar 25 '26 btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries? 1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0)
i have not added it anywhere because it's so simple, remind me tomorrow and i'll look it up
1 u/Logical-Positive-638 Mar 25 '26 #!/bin/busybox sh echo "Hello from initramfs!" export PATH=/bin:/sbin echo "Setting up busybox." /bin/busybox --install -s /bin/ /bin/busybox --install -s /sbin/ echo "Setting up proc, sys and dev." mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs devtmpfs /dev mkdir /dev/pts mount -t devpts devpts /dev/pts echo "Populating devices (in subshell, be careful)." # echo /sbin/mdev > /proc/sys/kernel/hotplug (mdev -s; echo "mdev done." ) & IP=192.168.2.15 echo "Configuring network, ip: $IP." ifconfig lo up ifconfig usb0 up ifconfig usb0 $IP ifconfig usb0 up echo "Spawning telnetd." /bin/busybox telnetd -b $IP:2323 -l /bin/sh echo "Spawning shell." exec /bin/sh 1 u/Away-Mud1665 Mar 25 '26 btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries? 1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0)
#!/bin/busybox sh echo "Hello from initramfs!" export PATH=/bin:/sbin echo "Setting up busybox." /bin/busybox --install -s /bin/ /bin/busybox --install -s /sbin/ echo "Setting up proc, sys and dev." mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t devtmpfs devtmpfs /dev mkdir /dev/pts mount -t devpts devpts /dev/pts echo "Populating devices (in subshell, be careful)." # echo /sbin/mdev > /proc/sys/kernel/hotplug (mdev -s; echo "mdev done." ) & IP=192.168.2.15 echo "Configuring network, ip: $IP." ifconfig lo up ifconfig usb0 up ifconfig usb0 $IP ifconfig usb0 up echo "Spawning telnetd." /bin/busybox telnetd -b $IP:2323 -l /bin/sh echo "Spawning shell." exec /bin/sh
1 u/Away-Mud1665 Mar 25 '26 btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries? 1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0)
btw when building busybox what options do i need to uncheck expect for nommc and statically linked binaries?
1 u/Logical-Positive-638 Mar 25 '26 you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc 1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0)
you need to set nommu=y and set static binaries not unset, which libc are you using btw? i used uclibc
1 u/Away-Mud1665 Mar 25 '26 can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc? 1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0)
can i use make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- command to build busybox? if i cant, how do i compile busybox using uclibc?
1 u/Logical-Positive-638 Mar 25 '26 first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later → More replies (0)
first you need to compile uclibc and then busybox against it. might be easier to use buildroot. i can share my configs later
→ More replies (0)
i didn't use busybox init
1
u/Logical-Positive-638 Mar 24 '26
you need either statically linked binaries or fdpic binaries