OM2P revise mtdparts partition layout, recompile u-boot firmware image to use expanded space, compile new fw image with added packages
$30-100 USD
Dibatalkan
Disiarkan sekitar 12 tahun yang lalu
$30-100 USD
Dibayar semasa penghantaran
I have an OM2p router (16 mb flash, 32 mb ram) which uses the u-boot loader to initialize the filesystems, and load the kernel from an image stored in flash.
By design there is a 7168K partition created for a "backup" of the firmware image and a 1280K "custom, empty" partition. When booted, the OpenWRT OS runs from RAM.
I want to change the partition layout to eliminate these two partitions and expand the rootfs to use the available space. So another firmware could be compiled which would include more added packages. ([login to view URL])
A serial console output on bootup shows mtdparts creates the following partitions:
size - Label, description
256k (u-boot, the boot loader)
256k (u-boot-env, stores variables such as the mac address, boot delay)
1280k (custom, empty)
1024k (kernel, the Linux Kernel: Its OpenWrt)
6144k (rootfs, the SquashFS filesystem, again, its OpenWrt)
7168k (inactive, contains the backup partition, e.g. NoDogSplash configuration and wireless settings)
256k (ART, apparently it is Atheros Radio Test, contains mac addresses and calibration data for the wifi. If it is missing or corrupt, ath9k won't come up anymore).
So we need to re-create the uboot env variables, and write to the u-boot env partition.
The second step would be to compile a new u-boot image which fits in the expanded partition for the rootfs. The script would have to look at the firmware image, and modify the u-boot env to accommodate different size firmware image files.
The third step would be to document how a u-boot image is compiled (with added packages). I have experimented with a ap51 flash utility for flashing a "stock" size u-boot image: [login to view URL]
Please email any questions. Obviously, you need to be familiar with OpenWRT, u-boot and the OM2p router.
Thanks!
## Deliverables
Some interesting info:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
ID Projek: 2736313
Tentang projek
Projek jarak jauh
Aktif 12 tahun yang lalu
Ingin menjana wang?
Faedah membida di Freelancer
Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan