- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
What should I do to make a uImage of the kernel?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What should I do to make a uImage of the kernel?
What should I do to make a uImage of the kernel?
I made following a uImage and I wrote it to a nand, but Redaynas don't start up.
[ Summary of the ReadyNAS ]
model: RN212
kernel: 4.4.190.alpine.1
firmware: 6.10.3
1) To install packages for compile.
sudo apt install gcc build-essential libncurses5-dev libncursesw5-dev bc
2) To download kernel source.
wget https://www.downloads.netgear.com/files/GPL/ReadyNASOS_V6.10.3_WW_src.zip
3) To unzip kernel source.
mkdir $HOME/ReadyNASOS_V6.10.3_WW_src
unzip ReadyNASOS_V6.10.3_WW_src.zip -d $HOME/ReadyNASOS_V6.10.3_WW_src
4) To make copy of the configuration file.
cd $HOME/ReadyNASOS_V6.10.3_WW_src/linux-4.4.190-alpine/
cp $HOME/ReadyNASOS_V6.10.3_WW_src/linux-4.4.190-arm/arch/arm/configs/readynas_defconfig .config
5) To edit following the configuration file.
[Before]
CONFIG_CROSS_COMPILE="arm-marvell-linux-gnueabi-"
CONFIG_LOCALVERSION=".armada.1"
[After]
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=".alpine.1"
6) To compile
make clean
make menuconfig ARCH=arm
make -j4 ARCH=arm
make -j4 uImage LOADADDR=0x200000 ARCH=arm
make -j4 modules ARCH=arm
make modules_install ARCH=arm
7) To write uImage
apt-get install mtd-utils
flash_erase /dev/mtd2 0 0
nandwrite -p /dev/mtd2 arch/arm/boot/uImage
I think the load address of a value is bad. What should I want the calculated value ? It would be greatly appreciated if you could explain the details.