2009-08-04 10:15:16 Reg- Patch issue
Loganathan Manokaran (INDIA)
Message: 78361
Hi,
I am working on BF527 custom board with 2009R1-RC1 distribution & 2009R1-RC7 toolchain. I have modified the kernel for USB according to BF527 custom board in the downloaded distribution(2009R1-RC1) from https://blackfin.uclinux.org/. This modified distribution named as(for reference only) working_dist. The downloaded distribution names as original_dist.
now i have taken the patch between these two distribution with the following command.
diff -Naur original_dist working_dist >kernel.patch
Then applying the patch on original_dist with the following command.
patch -fp1<kernel.patch
when i try to mount the usb on original_dist uImage, i got the following error.
root:/> mount -t vfat /dev/sda1 /mnt/
mount: mounting /dev/sda1 on /mnt/ failed: No such device
root:/>
But with the working_dist uImage, i can able to mount the usb.
Please let me know if i do anything wrong while taking the patch or applying the patch?
Thanks.
QuoteReplyEditDelete
2009-08-04 10:29:38 Re: Reg- Patch issue
Robin Getz (UNITED STATES)
Message: 78362
Loganathan:
Who ever told you your patch method would work is wrong.
It could be almost an infinite number of things.
-Robin
QuoteReplyEditDelete
2009-08-04 10:50:37 Re: Reg- Patch issue
Loganathan Manokaran (INDIA)
Message: 78365
Dear Robin,
could you please suggest the correct method of taking & applying the patch?
is taking the patch between two distributions (old and new ) and applying the created patch on the old is proper way?
or this creates some problems.
Thank you,
QuoteReplyEditDelete
2009-08-04 11:44:31 Re: Reg- Patch issue
Robin Getz (UNITED STATES)
Message: 78366
Loganathan:
There is no automated way. Changes should be limited to config files, not code. Just copy the config files.
-Robin