Find Jobs
Hire Freelancers

OM2P revise mtdparts partition layout, recompile u-boot firmware image to use expanded space, compile new fw image with added packages

$30-100 USD

Cancelled
Posted about 12 years ago

$30-100 USD

Paid on delivery
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]
Project ID: 2736313

About the project

Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Kila, United States
0.0
0
Payment method verified
Member since Feb 12, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.