JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2157154445
##
system/fastboot/fastboot.c:
##
@@ -1115,6 +1354,12 @@ static void fastboot_context_initialize(FAR struct
fastboot_ctx_s *ctx)
ctx->total_imgsize = 0;
xiaoxiang781216 merged PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscr...
xiaoxiang781216 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2154077329
##
system/fastboot/fastboot.c:
##
@@ -1074,85 +1148,292 @@ static int fastboot_usbdev_initialize(void)
}
#endif /* SYSTEM_FASTBOOTD_USB_BOARDCTL */
+
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2153663717
##
system/fastboot/fastboot.c:
##
@@ -437,7 +433,7 @@ fastboot_flash_program(FAR struct fastboot_ctx_s *context,
int fd)
break;
case
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2153657183
##
system/fastboot/fastboot.c:
##
@@ -1074,18 +1151,240 @@ static int fastboot_usbdev_initialize(void)
}
#endif /* SYSTEM_FASTBOOTD_USB_BOARDCTL */
+
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2153654362
##
system/fastboot/fastboot.c:
##
@@ -1074,18 +1151,240 @@ static int fastboot_usbdev_initialize(void)
}
#endif /* SYSTEM_FASTBOOTD_USB_BOARDCTL */
+
Donny9 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2153623957
##
system/fastboot/fastboot.c:
##
@@ -1074,18 +1151,240 @@ static int fastboot_usbdev_initialize(void)
}
#endif /* SYSTEM_FASTBOOTD_USB_BOARDCTL */
+ ctx->tr
xiaoxiang781216 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2153577312
##
system/fastboot/fastboot.c:
##
@@ -437,7 +433,7 @@ fastboot_flash_program(FAR struct fastboot_ctx_s *context,
int fd)
break;
case
xiaoxiang781216 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152833432
##
system/fastboot/fastboot.c:
##
@@ -1094,29 +1182,206 @@ static int fastboot_usbdev_initialize(FAR struct
fastboot_ctx_s *ctx)
static void fastboot_usb
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152545713
##
system/fastboot/fastboot.c:
##
@@ -122,10 +139,20 @@ struct fastboot_file_s
off_t offset;
};
+struct fastboot_transport_s
+{
+ int (*init)(FAR struc
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152345066
##
system/fastboot/fastboot.c:
##
@@ -1105,8 +1177,175 @@ static void fastboot_usbdev_deinit(FAR struct
fastboot_ctx_s *ctx)
}
}
+static ssize_t fast
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152345612
##
system/fastboot/fastboot.c:
##
@@ -1105,8 +1177,175 @@ static void fastboot_usbdev_deinit(FAR struct
fastboot_ctx_s *ctx)
}
}
+static ssize_t fast
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152344175
##
system/fastboot/fastboot.c:
##
@@ -1105,8 +1177,175 @@ static void fastboot_usbdev_deinit(FAR struct
fastboot_ctx_s *ctx)
}
}
+static ssize_t fast
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152343023
##
system/fastboot/fastboot.c:
##
@@ -1115,6 +1354,12 @@ static void fastboot_context_initialize(FAR struct
fastboot_ctx_s *ctx)
ctx->total_imgsize = 0;
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152343023
##
system/fastboot/fastboot.c:
##
@@ -1115,6 +1354,12 @@ static void fastboot_context_initialize(FAR struct
fastboot_ctx_s *ctx)
ctx->total_imgsize = 0;
xiaoxiang781216 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152342236
##
system/fastboot/fastboot.c:
##
@@ -122,10 +139,20 @@ struct fastboot_file_s
off_t offset;
};
+struct fastboot_transport_s
+{
+ int (*init)(FAR stru
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152337199
##
system/fastboot/fastboot.c:
##
@@ -122,10 +139,20 @@ struct fastboot_file_s
off_t offset;
};
+struct fastboot_transport_s
+{
+ int (*init)(FAR struc
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152340756
##
system/fastboot/fastboot.c:
##
@@ -1105,8 +1177,175 @@ static void fastboot_usbdev_deinit(FAR struct
fastboot_ctx_s *ctx)
}
}
+static ssize_t fast
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152338561
##
system/fastboot/fastboot.c:
##
@@ -217,6 +267,28 @@ static const struct memory_region_s g_memory_region[] =
};
#endif
+#ifdef CONFIG_USBFASTBOOT
+struc
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152339074
##
system/fastboot/fastboot.c:
##
@@ -937,12 +1008,12 @@ static void fastboot_command_loop(FAR struct
fastboot_ctx_s *context)
size_t ncmds = nitems(g
JianyuWang0623 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152335720
##
system/fastboot/fastboot.c:
##
@@ -1070,18 +1070,63 @@ static int fastboot_usbdev_initialize(void)
}
#endif /* SYSTEM_FASTBOOTD_USB_BOARDCTL */
+
xiaoxiang781216 commented on code in PR #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098#discussion_r2152241503
##
system/fastboot/fastboot.c:
##
@@ -1105,8 +1177,175 @@ static void fastboot_usbdev_deinit(FAR struct
fastboot_ctx_s *ctx)
}
}
+static ssize_t fas
JianyuWang0623 opened a new pull request, #3098:
URL: https://github.com/apache/nuttx-apps/pull/3098
## Summary
Add TCP network transport support for fastboot, users can add "-s
tcp:HOST[:PORT]" option to specify a network device.
1. replace GETUINT32 with be32toh
2. add func for co
23 matches
Mail list logo