1 Mar 2005 02:27
[patch] fix ext2load failing on devices other than 0
Andrew Dyer <amdyer <at> gmail.com>
2005-03-01 01:27:51 GMT
2005-03-01 01:27:51 GMT
CHANGELOG:
* Patch by Andrew Dyer, 28 February 2005:
fix where ext2load command passed incorrect pointer to
get_partition_info() resulting in load failure for devices other
than 0
--
Hardware, n.:
The parts of a computer system that can be kicked.
Index: common/cmd_ext2.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/cmd_ext2.c,v
retrieving revision 1.2
diff -p -u -r1.2 cmd_ext2.c
--- common/cmd_ext2.c 4 Feb 2005 15:02:08 -0000 1.2
+++ common/cmd_ext2.c 1 Mar 2005 01:19:14 -0000
<at> <at> -223,7 +223,7 <at> <at> int do_ext2load (cmd_tbl_t *cmdtp, int f
PRINTF("Using device %s%d, partition %d\n", argv[1], dev, part);
if (part != 0) {
- if (get_partition_info (&dev_desc[dev], part, &info)) {
+ if (get_partition_info (dev_desc, part, &info)) {
printf ("** Bad partition %d **\n", part);
return(1);
}
You probably mean how to integrate the driver for the RTL8019 into your U-Boot
image. After scanning through the source code I found that a driver for the
RTL8019 exists (drivers/rtl8019.c). But this driver does not seem to be used
by any board in the current cvs. So try to integrate the current driver into
your U-Boot port and fix possible problems.
Best regards,
Stefan
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
RSS Feed