From: Piotr Dymacz Date: Fri, 31 Jan 2014 00:00:12 +0000 (+0100) Subject: Use script to generate fsdata.c file X-Git-Tag: 2014-11-19~34^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=15499655cfb1d8f74335d3681f4167d60bd73c70;p=oweals%2Fu-boot_mod.git Use script to generate fsdata.c file --- diff --git a/u-boot/httpd/Makefile b/u-boot/httpd/Makefile index c4ddbd9..406e4cc 100755 --- a/u-boot/httpd/Makefile +++ b/u-boot/httpd/Makefile @@ -9,6 +9,11 @@ OBJS += uip.o uip_arch.o uip_arp.o httpd.o fs.o all: $(LIB) +fs.c: fsdata.c + +fsdata.c: + ./vendors/makefsdatac $(DEVICE_VENDOR) + $(LIB): $(START) $(OBJS) $(AR) crv $@ $(OBJS) diff --git a/u-boot/httpd/fsdata.c b/u-boot/httpd/fsdata.c deleted file mode 100755 index dd307cf..0000000 --- a/u-boot/httpd/fsdata.c +++ /dev/null @@ -1,671 +0,0 @@ -static const char data_fail_html[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4F, 0x4B, /* HTTP/1.0 200 OK */ -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, 0x65, /* Content-type: text/html; charset=UTF-8 */ -0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, -0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x3C, 0x21, 0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x48, 0x54, 0x4D, 0x4C, 0x3E, -0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x6D, 0x65, -0x74, 0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3D, 0x22, 0x75, 0x74, 0x66, -0x2D, 0x38, 0x22, 0x3E, 0x3C, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x55, 0x70, 0x67, 0x72, -0x61, 0x64, 0x65, 0x20, 0x66, 0x61, 0x69, 0x6C, 0x65, 0x64, 0x3C, 0x2F, 0x74, 0x69, 0x74, -0x6C, 0x65, 0x3E, 0x3C, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x72, 0x65, 0x6C, 0x3D, 0x22, 0x73, -0x74, 0x79, 0x6C, 0x65, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, -0x3D, 0x22, 0x73, 0x74, 0x79, 0x6C, 0x65, 0x2E, 0x63, 0x73, 0x73, 0x22, 0x3E, 0x3C, 0x2F, -0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x64, 0x69, 0x76, -0x20, 0x69, 0x64, 0x3D, 0x22, 0x6D, 0x61, 0x69, 0x6E, 0x22, 0x3E, 0x3C, 0x68, 0x31, 0x20, -0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x22, 0x3E, 0x55, -0x50, 0x47, 0x52, 0x41, 0x44, 0x45, 0x20, 0x46, 0x41, 0x49, 0x4C, 0x45, 0x44, 0x3C, 0x2F, -0x68, 0x31, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, -0x69, 0x6E, 0x66, 0x6F, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x22, 0x3E, 0x3C, 0x73, 0x74, -0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x53, 0x6F, 0x6D, 0x65, 0x74, 0x68, 0x69, 0x6E, 0x67, 0x20, -0x77, 0x65, 0x6E, 0x74, 0x20, 0x77, 0x72, 0x6F, 0x6E, 0x67, 0x20, 0x64, 0x75, 0x72, 0x69, -0x6E, 0x67, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x3C, 0x2F, 0x73, 0x74, 0x72, -0x6F, 0x6E, 0x67, 0x3E, 0x50, 0x72, 0x6F, 0x62, 0x61, 0x62, 0x6C, 0x79, 0x20, 0x79, 0x6F, -0x75, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x63, 0x68, 0x6F, 0x73, 0x65, 0x6E, 0x20, 0x77, -0x72, 0x6F, 0x6E, 0x67, 0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x28, 0x74, 0x6F, 0x6F, 0x20, -0x62, 0x69, 0x67, 0x20, 0x6F, 0x72, 0x20, 0x74, 0x6F, 0x6F, 0x20, 0x73, 0x6D, 0x61, 0x6C, -0x6C, 0x29, 0x20, 0x6F, 0x72, 0x20, 0x79, 0x6F, 0x75, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, -0x74, 0x72, 0x79, 0x69, 0x6E, 0x67, 0x20, 0x74, 0x6F, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, -0x64, 0x65, 0x20, 0x41, 0x52, 0x54, 0x20, 0x6F, 0x6E, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, -0x65, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x75, 0x6E, 0x6B, 0x6E, 0x6F, 0x77, 0x6E, 0x20, -0x66, 0x6C, 0x61, 0x73, 0x68, 0x20, 0x74, 0x79, 0x70, 0x65, 0x20, 0x28, 0x61, 0x6E, 0x64, -0x20, 0x73, 0x69, 0x7A, 0x65, 0x29, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x69, 0x73, -0x20, 0x6E, 0x6F, 0x74, 0x20, 0x61, 0x6C, 0x6C, 0x6F, 0x77, 0x65, 0x64, 0x2E, 0x20, 0x50, -0x6C, 0x65, 0x61, 0x73, 0x65, 0x2C, 0x20, 0x74, 0x72, 0x79, 0x20, 0x61, 0x67, 0x61, 0x69, -0x6E, 0x20, 0x6F, 0x72, 0x20, 0x63, 0x6F, 0x6E, 0x74, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, -0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x6F, 0x72, 0x20, 0x6F, -0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x6D, 0x6F, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, -0x74, 0x69, 0x6F, 0x6E, 0x2E, 0x20, 0x59, 0x6F, 0x75, 0x20, 0x63, 0x61, 0x6E, 0x20, 0x61, -0x6C, 0x73, 0x6F, 0x20, 0x67, 0x65, 0x74, 0x20, 0x6D, 0x6F, 0x72, 0x65, 0x20, 0x69, 0x6E, -0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x64, 0x75, 0x72, 0x69, 0x6E, -0x67, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x20, 0x69, 0x6E, 0x20, 0x55, 0x2D, -0x42, 0x6F, 0x6F, 0x74, 0x20, 0x63, 0x6F, 0x6E, 0x73, 0x6F, 0x6C, 0x65, 0x2E, 0x3C, 0x2F, -0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, -0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x66, 0x6F, 0x6F, 0x74, 0x22, 0x3E, 0x59, 0x6F, -0x75, 0x20, 0x63, 0x61, 0x6E, 0x20, 0x66, 0x69, 0x6E, 0x64, 0x20, 0x6D, 0x6F, 0x72, 0x65, -0x20, 0x69, 0x6E, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x61, 0x62, -0x6F, 0x75, 0x74, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x70, 0x72, 0x6F, 0x6A, 0x65, 0x63, -0x74, 0x20, 0x6F, 0x6E, 0x20, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x68, -0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F, 0x2F, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2E, 0x63, -0x6F, 0x6D, 0x2F, 0x70, 0x65, 0x70, 0x65, 0x32, 0x6B, 0x2F, 0x75, 0x2D, 0x62, 0x6F, 0x6F, -0x74, 0x5F, 0x6D, 0x6F, 0x64, 0x22, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x3D, 0x22, -0x5F, 0x62, 0x6C, 0x61, 0x6E, 0x6B, 0x22, 0x3E, 0x47, 0x69, 0x74, 0x48, 0x75, 0x62, 0x3C, -0x2F, 0x61, 0x3E, 0x2E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x62, 0x6F, 0x64, -0x79, 0x3E, 0x3C, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0 }; - -static const char data_flashing_html[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4F, 0x4B, /* HTTP/1.0 200 OK */ -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, 0x65, /* Content-type: text/html; charset=UTF-8 */ -0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, -0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x3C, 0x21, 0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x48, 0x54, 0x4D, 0x4C, 0x3E, -0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x6D, 0x65, -0x74, 0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3D, 0x22, 0x75, 0x74, 0x66, -0x2D, 0x38, 0x22, 0x3E, 0x3C, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x52, 0x6F, 0x75, 0x74, -0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x69, 0x6E, 0x67, -0x2E, 0x2E, 0x2E, 0x3C, 0x2F, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x3C, 0x73, 0x74, 0x79, -0x6C, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x74, 0x65, 0x78, 0x74, 0x2F, 0x63, -0x73, 0x73, 0x22, 0x3E, 0x68, 0x74, 0x6D, 0x6C, 0x2C, 0x62, 0x6F, 0x64, 0x79, 0x2C, 0x64, -0x69, 0x76, 0x2C, 0x68, 0x31, 0x2C, 0x61, 0x2C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x2C, -0x70, 0x2C, 0x66, 0x6F, 0x72, 0x6D, 0x2C, 0x75, 0x6C, 0x2C, 0x6C, 0x69, 0x7B, 0x62, 0x6F, -0x72, 0x64, 0x65, 0x72, 0x3A, 0x30, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, -0x65, 0x3A, 0x31, 0x30, 0x30, 0x25, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x3A, 0x69, 0x6E, 0x68, -0x65, 0x72, 0x69, 0x74, 0x3B, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, 0x2D, 0x61, -0x6C, 0x69, 0x67, 0x6E, 0x3A, 0x62, 0x61, 0x73, 0x65, 0x6C, 0x69, 0x6E, 0x65, 0x3B, 0x6D, -0x61, 0x72, 0x67, 0x69, 0x6E, 0x3A, 0x30, 0x3B, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, -0x3A, 0x30, 0x7D, 0x75, 0x6C, 0x7B, 0x6C, 0x69, 0x73, 0x74, 0x2D, 0x73, 0x74, 0x79, 0x6C, -0x65, 0x3A, 0x73, 0x71, 0x75, 0x61, 0x72, 0x65, 0x3B, 0x20, 0x6D, 0x61, 0x72, 0x67, 0x69, -0x6E, 0x3A, 0x20, 0x30, 0x20, 0x30, 0x20, 0x30, 0x20, 0x32, 0x30, 0x70, 0x78, 0x7D, 0x2E, -0x69, 0x6E, 0x66, 0x6F, 0x20, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x7B, 0x6D, 0x61, 0x72, -0x67, 0x69, 0x6E, 0x3A, 0x20, 0x30, 0x20, 0x30, 0x20, 0x31, 0x30, 0x70, 0x78, 0x3B, 0x64, -0x69, 0x73, 0x70, 0x6C, 0x61, 0x79, 0x3A, 0x62, 0x6C, 0x6F, 0x63, 0x6B, 0x7D, 0x62, 0x6F, -0x64, 0x79, 0x7B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x66, 0x61, 0x6D, 0x69, 0x6C, 0x79, 0x3A, -0x41, 0x72, 0x69, 0x61, 0x6C, 0x2C, 0x73, 0x61, 0x6E, 0x73, 0x2D, 0x73, 0x65, 0x72, 0x69, -0x66, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, 0x20, 0x31, 0x35, -0x70, 0x78, 0x3B, 0x6C, 0x69, 0x6E, 0x65, 0x2D, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3A, -0x31, 0x2E, 0x36, 0x65, 0x6D, 0x3B, 0x62, 0x61, 0x63, 0x6B, 0x67, 0x72, 0x6F, 0x75, 0x6E, -0x64, 0x3A, 0x23, 0x46, 0x35, 0x46, 0x35, 0x46, 0x35, 0x7D, 0x23, 0x6D, 0x61, 0x69, 0x6E, -0x7B, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3A, 0x31, 0x30, 0x30, 0x30, 0x70, 0x78, 0x3B, 0x6D, -0x61, 0x72, 0x67, 0x69, 0x6E, 0x3A, 0x33, 0x30, 0x70, 0x78, 0x20, 0x61, 0x75, 0x74, 0x6F, -0x20, 0x30, 0x3B, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x3A, 0x33, 0x30, 0x70, 0x78, -0x3B, 0x62, 0x61, 0x63, 0x6B, 0x67, 0x72, 0x6F, 0x75, 0x6E, 0x64, 0x3A, 0x23, 0x46, 0x46, -0x46, 0x3B, 0x62, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, -0x31, 0x70, 0x78, 0x20, 0x23, 0x44, 0x32, 0x44, 0x32, 0x44, 0x32, 0x3B, 0x62, 0x6F, 0x78, -0x2D, 0x73, 0x68, 0x61, 0x64, 0x6F, 0x77, 0x3A, 0x20, 0x30, 0x20, 0x30, 0x20, 0x37, 0x70, -0x78, 0x20, 0x23, 0x45, 0x41, 0x45, 0x41, 0x45, 0x41, 0x7D, 0x23, 0x6D, 0x61, 0x69, 0x6E, -0x20, 0x3E, 0x20, 0x2A, 0x3A, 0x6E, 0x6F, 0x74, 0x28, 0x3A, 0x6C, 0x61, 0x73, 0x74, 0x2D, -0x63, 0x68, 0x69, 0x6C, 0x64, 0x29, 0x7B, 0x6D, 0x61, 0x72, 0x67, 0x69, 0x6E, 0x3A, 0x20, -0x30, 0x20, 0x30, 0x20, 0x33, 0x30, 0x70, 0x78, 0x7D, 0x68, 0x31, 0x2C, 0x73, 0x74, 0x72, -0x6F, 0x6E, 0x67, 0x7B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, -0x3A, 0x62, 0x6F, 0x6C, 0x64, 0x7D, 0x68, 0x31, 0x7B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x66, -0x61, 0x6D, 0x69, 0x6C, 0x79, 0x3A, 0x54, 0x61, 0x68, 0x6F, 0x6D, 0x61, 0x2C, 0x73, 0x61, -0x6E, 0x73, 0x2D, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, -0x69, 0x7A, 0x65, 0x3A, 0x20, 0x34, 0x35, 0x70, 0x78, 0x3B, 0x63, 0x6F, 0x6C, 0x6F, 0x72, -0x3A, 0x23, 0x30, 0x42, 0x35, 0x46, 0x43, 0x35, 0x3B, 0x6C, 0x69, 0x6E, 0x65, 0x2D, 0x68, -0x65, 0x69, 0x67, 0x68, 0x74, 0x3A, 0x31, 0x65, 0x6D, 0x3B, 0x62, 0x6F, 0x72, 0x64, 0x65, -0x72, 0x2D, 0x62, 0x6F, 0x74, 0x74, 0x6F, 0x6D, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, -0x33, 0x70, 0x78, 0x3B, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x2D, 0x62, 0x6F, 0x74, -0x74, 0x6F, 0x6D, 0x3A, 0x35, 0x70, 0x78, 0x7D, 0x61, 0x7B, 0x63, 0x6F, 0x6C, 0x6F, 0x72, -0x3A, 0x23, 0x30, 0x42, 0x35, 0x46, 0x43, 0x35, 0x3B, 0x74, 0x65, 0x78, 0x74, 0x2D, 0x64, -0x65, 0x63, 0x6F, 0x72, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x3A, 0x6E, 0x6F, 0x6E, 0x65, 0x7D, -0x2E, 0x69, 0x6E, 0x66, 0x6F, 0x7B, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x3A, 0x20, -0x31, 0x30, 0x70, 0x78, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, -0x20, 0x31, 0x33, 0x70, 0x78, 0x3B, 0x6C, 0x69, 0x6E, 0x65, 0x2D, 0x68, 0x65, 0x69, 0x67, -0x68, 0x74, 0x3A, 0x31, 0x2E, 0x35, 0x65, 0x6D, 0x7D, 0x2E, 0x69, 0x6E, 0x66, 0x6F, 0x2E, -0x77, 0x61, 0x72, 0x6E, 0x7B, 0x62, 0x61, 0x63, 0x6B, 0x67, 0x72, 0x6F, 0x75, 0x6E, 0x64, -0x3A, 0x20, 0x23, 0x46, 0x46, 0x46, 0x45, 0x45, 0x38, 0x3B, 0x62, 0x6F, 0x72, 0x64, 0x65, -0x72, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, 0x31, 0x70, 0x78, 0x20, 0x23, 0x46, 0x46, -0x44, 0x36, 0x39, 0x39, 0x7D, 0x2E, 0x66, 0x6F, 0x6F, 0x74, 0x7B, 0x6D, 0x61, 0x72, 0x67, -0x69, 0x6E, 0x3A, 0x31, 0x30, 0x70, 0x78, 0x20, 0x30, 0x3B, 0x74, 0x65, 0x78, 0x74, 0x2D, -0x61, 0x6C, 0x69, 0x67, 0x6E, 0x3A, 0x63, 0x65, 0x6E, 0x74, 0x65, 0x72, 0x3B, 0x66, 0x6F, -0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, 0x31, 0x31, 0x70, 0x78, 0x3B, 0x63, 0x6F, -0x6C, 0x6F, 0x72, 0x3A, 0x23, 0x36, 0x32, 0x36, 0x32, 0x36, 0x32, 0x7D, 0x3C, 0x2F, 0x73, -0x74, 0x79, 0x6C, 0x65, 0x3E, 0x3C, 0x2F, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x62, 0x6F, -0x64, 0x79, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3D, 0x22, 0x6D, 0x61, 0x69, -0x6E, 0x22, 0x3E, 0x3C, 0x68, 0x31, 0x3E, 0x52, 0x4F, 0x55, 0x54, 0x45, 0x52, 0x20, 0x49, -0x53, 0x20, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x49, 0x4E, 0x47, 0x2E, 0x2E, 0x2E, 0x3C, -0x2F, 0x68, 0x31, 0x3E, 0x3C, 0x70, 0x3E, 0x59, 0x6F, 0x75, 0x72, 0x20, 0x66, 0x69, 0x6C, -0x65, 0x20, 0x77, 0x61, 0x73, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x65, 0x64, 0x2C, -0x20, 0x70, 0x6C, 0x65, 0x61, 0x73, 0x65, 0x20, 0x77, 0x61, 0x69, 0x74, 0x20, 0x61, 0x6E, -0x64, 0x20, 0x6B, 0x65, 0x65, 0x70, 0x20, 0x61, 0x6E, 0x20, 0x65, 0x79, 0x65, 0x20, 0x6F, -0x6E, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x27, 0x73, 0x20, 0x4C, 0x45, 0x44, 0x28, -0x73, 0x29, 0x2E, 0x20, 0x4F, 0x6E, 0x65, 0x20, 0x4C, 0x45, 0x44, 0x20, 0x73, 0x68, 0x6F, -0x75, 0x6C, 0x64, 0x20, 0x62, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x64, 0x75, 0x72, 0x69, 0x6E, -0x67, 0x20, 0x46, 0x4C, 0x41, 0x53, 0x48, 0x20, 0x65, 0x72, 0x61, 0x73, 0x69, 0x6E, 0x67, -0x2E, 0x3C, 0x62, 0x72, 0x20, 0x2F, 0x3E, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x20, 0x61, -0x6E, 0x64, 0x20, 0x41, 0x52, 0x54, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x20, -0x73, 0x68, 0x6F, 0x75, 0x6C, 0x64, 0x6E, 0x27, 0x74, 0x20, 0x74, 0x61, 0x6B, 0x65, 0x20, -0x6D, 0x6F, 0x72, 0x65, 0x20, 0x74, 0x68, 0x61, 0x6E, 0x20, 0x61, 0x20, 0x66, 0x65, 0x77, -0x20, 0x73, 0x65, 0x63, 0x6F, 0x6E, 0x64, 0x73, 0x2C, 0x20, 0x66, 0x69, 0x72, 0x6D, 0x77, -0x61, 0x72, 0x65, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x20, 0x74, 0x69, 0x6D, -0x65, 0x20, 0x64, 0x65, 0x70, 0x65, 0x6E, 0x64, 0x73, 0x20, 0x6F, 0x6E, 0x20, 0x73, 0x69, -0x7A, 0x65, 0x20, 0x6F, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, -0x64, 0x65, 0x64, 0x20, 0x66, 0x69, 0x6C, 0x65, 0x2E, 0x3C, 0x2F, 0x70, 0x3E, 0x3C, 0x64, -0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x69, 0x6E, 0x66, 0x6F, 0x20, -0x77, 0x61, 0x72, 0x6E, 0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x57, -0x41, 0x52, 0x4E, 0x49, 0x4E, 0x47, 0x53, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, -0x3E, 0x3C, 0x75, 0x6C, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x64, 0x6F, 0x20, 0x6E, 0x6F, 0x74, -0x20, 0x70, 0x6F, 0x77, 0x65, 0x72, 0x20, 0x6F, 0x66, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, -0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x20, 0x6E, 0x6F, 0x77, 0x21, 0x3C, 0x2F, 0x6C, 0x69, -0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x79, 0x6F, 0x75, 0x20, 0x73, 0x68, 0x6F, 0x75, 0x6C, 0x64, -0x20, 0x77, 0x61, 0x69, 0x74, 0x20, 0x66, 0x6F, 0x72, 0x20, 0x61, 0x75, 0x74, 0x6F, 0x6D, -0x61, 0x74, 0x69, 0x63, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3C, 0x2F, 0x6C, -0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4C, 0x45, -0x44, 0x28, 0x73, 0x29, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x73, 0x20, 0x74, 0x6F, 0x20, -0x62, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x66, 0x61, 0x73, 0x74, 0x20, 0x69, 0x74, 0x20, 0x6D, -0x65, 0x61, 0x6E, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x74, 0x68, 0x65, 0x72, 0x65, -0x20, 0x77, 0x61, 0x73, 0x20, 0x61, 0x6E, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x20, 0x64, -0x75, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x20, 0x61, -0x6E, 0x64, 0x20, 0x77, 0x65, 0x62, 0x20, 0x66, 0x61, 0x69, 0x6C, 0x73, 0x61, 0x66, 0x65, -0x20, 0x6D, 0x6F, 0x64, 0x65, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x72, 0x75, 0x6E, 0x20, -0x61, 0x67, 0x61, 0x69, 0x6E, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x2F, 0x75, 0x6C, 0x3E, -0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, -0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x66, 0x6F, 0x6F, 0x74, 0x22, 0x3E, -0x59, 0x6F, 0x75, 0x20, 0x63, 0x61, 0x6E, 0x20, 0x66, 0x69, 0x6E, 0x64, 0x20, 0x6D, 0x6F, -0x72, 0x65, 0x20, 0x69, 0x6E, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, -0x61, 0x62, 0x6F, 0x75, 0x74, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x70, 0x72, 0x6F, 0x6A, -0x65, 0x63, 0x74, 0x20, 0x6F, 0x6E, 0x20, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, -0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F, 0x2F, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, -0x2E, 0x63, 0x6F, 0x6D, 0x2F, 0x70, 0x65, 0x70, 0x65, 0x32, 0x6B, 0x2F, 0x75, 0x2D, 0x62, -0x6F, 0x6F, 0x74, 0x5F, 0x6D, 0x6F, 0x64, 0x22, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, -0x3D, 0x22, 0x5F, 0x62, 0x6C, 0x61, 0x6E, 0x6B, 0x22, 0x3E, 0x47, 0x69, 0x74, 0x48, 0x75, -0x62, 0x3C, 0x2F, 0x61, 0x3E, 0x2E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x62, -0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0 }; - -static const char data_uboot_html[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4F, 0x4B, /* HTTP/1.0 200 OK */ -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, 0x65, /* Content-type: text/html; charset=UTF-8 */ -0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, -0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x3C, 0x21, 0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x48, 0x54, 0x4D, 0x4C, 0x3E, -0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x6D, 0x65, -0x74, 0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3D, 0x22, 0x75, 0x74, 0x66, -0x2D, 0x38, 0x22, 0x3E, 0x3C, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x55, 0x2D, 0x42, 0x6F, -0x6F, 0x74, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x3C, 0x2F, 0x74, 0x69, 0x74, -0x6C, 0x65, 0x3E, 0x3C, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x72, 0x65, 0x6C, 0x3D, 0x22, 0x73, -0x74, 0x79, 0x6C, 0x65, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, -0x3D, 0x22, 0x73, 0x74, 0x79, 0x6C, 0x65, 0x2E, 0x63, 0x73, 0x73, 0x22, 0x3E, 0x3C, 0x2F, -0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x64, 0x69, 0x76, -0x20, 0x69, 0x64, 0x3D, 0x22, 0x6D, 0x61, 0x69, 0x6E, 0x22, 0x3E, 0x3C, 0x68, 0x31, 0x3E, -0x55, 0x2D, 0x42, 0x4F, 0x4F, 0x54, 0x20, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x45, 0x3C, -0x2F, 0x68, 0x31, 0x3E, 0x3C, 0x70, 0x3E, 0x59, 0x6F, 0x75, 0x20, 0x61, 0x72, 0x65, 0x20, -0x67, 0x6F, 0x69, 0x6E, 0x67, 0x20, 0x74, 0x6F, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, -0x20, 0x6E, 0x65, 0x77, 0x20, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x20, 0x69, 0x6D, 0x61, -0x67, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6F, 0x75, 0x74, -0x65, 0x72, 0x2E, 0x20, 0x50, 0x6C, 0x65, 0x61, 0x73, 0x65, 0x2C, 0x20, 0x63, 0x68, 0x6F, -0x6F, 0x73, 0x65, 0x20, 0x61, 0x70, 0x70, 0x72, 0x6F, 0x70, 0x72, 0x69, 0x61, 0x74, 0x65, -0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x66, 0x72, 0x6F, 0x6D, 0x20, 0x79, 0x6F, 0x75, 0x72, -0x20, 0x6C, 0x6F, 0x63, 0x61, 0x6C, 0x20, 0x68, 0x61, 0x72, 0x64, 0x20, 0x64, 0x72, 0x69, -0x76, 0x65, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x63, 0x6C, 0x69, 0x63, 0x6B, 0x20, 0x3C, 0x73, -0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x55, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x3C, 0x2F, 0x73, -0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, 0x3C, 0x62, 0x72, 0x2F, 0x3E, 0x54, 0x68, 0x65, -0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x62, 0x65, 0x20, 0x64, -0x6F, 0x77, 0x6E, 0x6C, 0x6F, 0x61, 0x64, 0x65, 0x64, 0x2C, 0x20, 0x73, 0x74, 0x6F, 0x72, -0x65, 0x64, 0x20, 0x69, 0x6E, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x52, -0x41, 0x4D, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x20, 0x61, 0x6E, 0x64, -0x20, 0x74, 0x68, 0x65, 0x6E, 0x20, 0x63, 0x6F, 0x70, 0x69, 0x65, 0x64, 0x20, 0x74, 0x6F, -0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x46, 0x4C, 0x41, 0x53, 0x48, 0x3C, -0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, 0x20, 0x59, 0x6F, 0x75, 0x20, 0x63, -0x61, 0x6E, 0x20, 0x61, 0x6C, 0x73, 0x6F, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, -0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, -0x66, 0x3D, 0x22, 0x69, 0x6E, 0x64, 0x65, 0x78, 0x2E, 0x68, 0x74, 0x6D, 0x6C, 0x22, 0x3E, -0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65, 0x3C, 0x2F, 0x61, 0x3E, 0x3C, 0x2F, 0x73, -0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x3C, 0x73, 0x74, 0x72, -0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x61, 0x72, -0x74, 0x2E, 0x68, 0x74, 0x6D, 0x6C, 0x22, 0x3E, 0x41, 0x52, 0x54, 0x3C, 0x2F, 0x61, 0x3E, -0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, 0x3C, 0x2F, 0x70, 0x3E, 0x3C, -0x66, 0x6F, 0x72, 0x6D, 0x20, 0x6D, 0x65, 0x74, 0x68, 0x6F, 0x64, 0x3D, 0x22, 0x70, 0x6F, -0x73, 0x74, 0x22, 0x20, 0x65, 0x6E, 0x63, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x6D, 0x75, -0x6C, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x2F, 0x66, 0x6F, 0x72, 0x6D, 0x2D, 0x64, 0x61, -0x74, 0x61, 0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x20, 0x63, 0x6C, 0x61, -0x73, 0x73, 0x3D, 0x22, 0x70, 0x61, 0x64, 0x64, 0x22, 0x3E, 0x55, 0x2D, 0x42, 0x6F, 0x6F, -0x74, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x3A, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, -0x67, 0x3E, 0x3C, 0x69, 0x6E, 0x70, 0x75, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, -0x66, 0x69, 0x6C, 0x65, 0x22, 0x20, 0x6E, 0x61, 0x6D, 0x65, 0x3D, 0x22, 0x75, 0x62, 0x6F, -0x6F, 0x74, 0x22, 0x3E, 0x3C, 0x69, 0x6E, 0x70, 0x75, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, -0x3D, 0x22, 0x73, 0x75, 0x62, 0x6D, 0x69, 0x74, 0x22, 0x20, 0x76, 0x61, 0x6C, 0x75, 0x65, -0x3D, 0x22, 0x55, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x22, 0x3E, 0x3C, 0x2F, 0x66, 0x6F, 0x72, -0x6D, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x69, -0x6E, 0x66, 0x6F, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, -0x6F, 0x6E, 0x67, 0x3E, 0x57, 0x41, 0x52, 0x4E, 0x49, 0x4E, 0x47, 0x21, 0x3C, 0x2F, 0x73, -0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x69, 0x6E, 0x67, -0x20, 0x74, 0x68, 0x65, 0x20, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x20, 0x69, 0x73, 0x20, -0x76, 0x65, 0x72, 0x79, 0x20, 0x64, 0x61, 0x6E, 0x67, 0x65, 0x72, 0x6F, 0x75, 0x73, 0x20, -0x6F, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x6D, -0x61, 0x79, 0x20, 0x64, 0x61, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, -0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x21, 0x20, 0x59, 0x6F, 0x75, 0x20, 0x68, 0x61, 0x76, -0x65, 0x20, 0x62, 0x65, 0x65, 0x6E, 0x20, 0x77, 0x61, 0x72, 0x6E, 0x65, 0x64, 0x21, 0x3C, -0x62, 0x72, 0x20, 0x2F, 0x3E, 0x49, 0x66, 0x20, 0x79, 0x6F, 0x75, 0x20, 0x75, 0x70, 0x6C, -0x6F, 0x61, 0x64, 0x20, 0x77, 0x72, 0x6F, 0x6E, 0x67, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, -0x2C, 0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x20, 0x77, -0x6F, 0x6E, 0x27, 0x74, 0x20, 0x62, 0x6F, 0x6F, 0x74, 0x20, 0x61, 0x6E, 0x79, 0x6D, 0x6F, -0x72, 0x65, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6F, 0x6E, 0x6C, 0x79, -0x20, 0x77, 0x61, 0x79, 0x20, 0x74, 0x6F, 0x20, 0x72, 0x65, 0x70, 0x61, 0x69, 0x72, 0x20, -0x69, 0x74, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x62, 0x65, 0x20, 0x6D, 0x61, 0x6E, 0x75, -0x61, 0x6C, 0x6C, 0x79, 0x20, 0x72, 0x65, 0x70, 0x72, 0x6F, 0x67, 0x72, 0x61, 0x6D, 0x6D, -0x69, 0x6E, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x46, 0x4C, 0x41, 0x53, 0x48, 0x21, 0x3C, -0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, -0x3D, 0x22, 0x69, 0x6E, 0x66, 0x6F, 0x20, 0x77, 0x61, 0x72, 0x6E, 0x22, 0x3E, 0x3C, 0x73, -0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x57, 0x41, 0x52, 0x4E, 0x49, 0x4E, 0x47, 0x53, 0x3C, -0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x75, 0x6C, 0x3E, 0x3C, 0x6C, 0x69, -0x3E, 0x64, 0x6F, 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x70, 0x6F, 0x77, 0x65, 0x72, 0x20, 0x6F, -0x66, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x20, 0x64, -0x75, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x3C, 0x2F, 0x6C, -0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x69, 0x66, 0x20, 0x65, 0x76, 0x65, 0x72, 0x79, 0x74, -0x68, 0x69, 0x6E, 0x67, 0x20, 0x67, 0x6F, 0x65, 0x73, 0x20, 0x77, 0x65, 0x6C, 0x6C, 0x2C, -0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x20, 0x77, 0x69, 0x6C, -0x6C, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, -0x72, 0x79, 0x20, 0x74, 0x6F, 0x20, 0x62, 0x6F, 0x6F, 0x74, 0x20, 0x75, 0x73, 0x69, 0x6E, -0x67, 0x20, 0x6E, 0x65, 0x77, 0x20, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x3C, 0x2F, 0x6C, -0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x69, 0x6E, 0x20, 0x63, 0x61, 0x73, 0x65, 0x20, 0x6F, -0x66, 0x20, 0x61, 0x6E, 0x79, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x20, 0x64, 0x75, 0x72, -0x69, 0x6E, 0x67, 0x20, 0x6F, 0x72, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x69, 0x6D, -0x61, 0x67, 0x65, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x2C, 0x20, 0x4C, 0x45, 0x44, -0x28, 0x73, 0x29, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x62, 0x6C, 0x69, 0x6E, 0x6B, 0x20, -0x66, 0x61, 0x73, 0x74, 0x20, 0x66, 0x6F, 0x72, 0x20, 0x61, 0x20, 0x77, 0x68, 0x69, 0x6C, -0x65, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x20, 0x74, 0x68, 0x65, 0x20, -0x77, 0x65, 0x62, 0x20, 0x66, 0x61, 0x69, 0x6C, 0x73, 0x61, 0x66, 0x65, 0x20, 0x6D, 0x6F, -0x64, 0x65, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, -0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x79, 0x6F, 0x75, 0x20, 0x63, 0x61, -0x6E, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x20, 0x77, 0x68, 0x61, 0x74, 0x65, 0x76, -0x65, 0x72, 0x20, 0x79, 0x6F, 0x75, 0x20, 0x77, 0x61, 0x6E, 0x74, 0x2C, 0x20, 0x73, 0x6F, -0x20, 0x62, 0x65, 0x20, 0x73, 0x75, 0x72, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x79, -0x6F, 0x75, 0x20, 0x63, 0x68, 0x6F, 0x6F, 0x73, 0x65, 0x20, 0x70, 0x72, 0x6F, 0x70, 0x65, -0x72, 0x20, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, -0x66, 0x6F, 0x72, 0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, -0x21, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x2F, 0x75, 0x6C, 0x3E, 0x3C, 0x2F, 0x64, 0x69, -0x76, 0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, -0x61, 0x73, 0x73, 0x3D, 0x22, 0x66, 0x6F, 0x6F, 0x74, 0x22, 0x3E, 0x59, 0x6F, 0x75, 0x20, -0x63, 0x61, 0x6E, 0x20, 0x66, 0x69, 0x6E, 0x64, 0x20, 0x6D, 0x6F, 0x72, 0x65, 0x20, 0x69, -0x6E, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x61, 0x62, 0x6F, 0x75, -0x74, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x70, 0x72, 0x6F, 0x6A, 0x65, 0x63, 0x74, 0x20, -0x6F, 0x6E, 0x20, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x68, 0x74, 0x74, -0x70, 0x73, 0x3A, 0x2F, 0x2F, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2E, 0x63, 0x6F, 0x6D, -0x2F, 0x70, 0x65, 0x70, 0x65, 0x32, 0x6B, 0x2F, 0x75, 0x2D, 0x62, 0x6F, 0x6F, 0x74, 0x5F, -0x6D, 0x6F, 0x64, 0x22, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x3D, 0x22, 0x5F, 0x62, -0x6C, 0x61, 0x6E, 0x6B, 0x22, 0x3E, 0x47, 0x69, 0x74, 0x48, 0x75, 0x62, 0x3C, 0x2F, 0x61, -0x3E, 0x2E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x62, 0x6F, 0x64, 0x79, 0x3E, -0x3C, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0 }; - -static const char data_404_html[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x34, 0x30, 0x34, 0x20, 0x46, 0x69, 0x6C, /* HTTP/1.0 404 File not found */ -0x65, 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x66, 0x6F, 0x75, 0x6E, 0x64, -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, 0x65, /* Content-type: text/html; charset=UTF-8 */ -0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, -0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x3C, 0x21, 0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x48, 0x54, 0x4D, 0x4C, 0x3E, -0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x6D, 0x65, -0x74, 0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3D, 0x22, 0x75, 0x74, 0x66, -0x2D, 0x38, 0x22, 0x3E, 0x3C, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x50, 0x61, 0x67, 0x65, -0x20, 0x6E, 0x6F, 0x74, 0x20, 0x66, 0x6F, 0x75, 0x6E, 0x64, 0x3C, 0x2F, 0x74, 0x69, 0x74, -0x6C, 0x65, 0x3E, 0x3C, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x72, 0x65, 0x6C, 0x3D, 0x22, 0x73, -0x74, 0x79, 0x6C, 0x65, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, -0x3D, 0x22, 0x73, 0x74, 0x79, 0x6C, 0x65, 0x2E, 0x63, 0x73, 0x73, 0x22, 0x3E, 0x3C, 0x2F, -0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x64, 0x69, 0x76, -0x20, 0x69, 0x64, 0x3D, 0x22, 0x6D, 0x61, 0x69, 0x6E, 0x22, 0x3E, 0x3C, 0x68, 0x31, 0x20, -0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x22, 0x3E, 0x50, -0x41, 0x47, 0x45, 0x20, 0x4E, 0x4F, 0x54, 0x20, 0x46, 0x4F, 0x55, 0x4E, 0x44, 0x3C, 0x2F, -0x68, 0x31, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, -0x69, 0x6E, 0x66, 0x6F, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x22, 0x3E, 0x54, 0x68, 0x65, -0x20, 0x70, 0x61, 0x67, 0x65, 0x20, 0x79, 0x6F, 0x75, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, -0x6C, 0x6F, 0x6F, 0x6B, 0x69, 0x6E, 0x67, 0x20, 0x66, 0x6F, 0x72, 0x20, 0x64, 0x6F, 0x65, -0x73, 0x6E, 0x27, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x21, 0x3C, 0x2F, 0x64, 0x69, -0x76, 0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, -0x61, 0x73, 0x73, 0x3D, 0x22, 0x66, 0x6F, 0x6F, 0x74, 0x22, 0x3E, 0x59, 0x6F, 0x75, 0x20, -0x63, 0x61, 0x6E, 0x20, 0x66, 0x69, 0x6E, 0x64, 0x20, 0x6D, 0x6F, 0x72, 0x65, 0x20, 0x69, -0x6E, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x61, 0x62, 0x6F, 0x75, -0x74, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x70, 0x72, 0x6F, 0x6A, 0x65, 0x63, 0x74, 0x20, -0x6F, 0x6E, 0x20, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x68, 0x74, 0x74, -0x70, 0x73, 0x3A, 0x2F, 0x2F, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2E, 0x63, 0x6F, 0x6D, -0x2F, 0x70, 0x65, 0x70, 0x65, 0x32, 0x6B, 0x2F, 0x75, 0x2D, 0x62, 0x6F, 0x6F, 0x74, 0x5F, -0x6D, 0x6F, 0x64, 0x22, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x3D, 0x22, 0x5F, 0x62, -0x6C, 0x61, 0x6E, 0x6B, 0x22, 0x3E, 0x47, 0x69, 0x74, 0x48, 0x75, 0x62, 0x3C, 0x2F, 0x61, -0x3E, 0x2E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x62, 0x6F, 0x64, 0x79, 0x3E, -0x3C, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0}; - -static const char data_index_html[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4F, 0x4B, /* HTTP/1.0 200 OK */ -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, 0x65, /* Content-type: text/html; charset=UTF-8 */ -0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, -0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x3C, 0x21, 0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x48, 0x54, 0x4D, 0x4C, 0x3E, -0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x6D, 0x65, -0x74, 0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3D, 0x22, 0x75, 0x74, 0x66, -0x2D, 0x38, 0x22, 0x3E, 0x3C, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x46, 0x69, 0x72, 0x6D, -0x77, 0x61, 0x72, 0x65, 0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x3C, 0x2F, 0x74, -0x69, 0x74, 0x6C, 0x65, 0x3E, 0x3C, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x72, 0x65, 0x6C, 0x3D, -0x22, 0x73, 0x74, 0x79, 0x6C, 0x65, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x68, 0x72, -0x65, 0x66, 0x3D, 0x22, 0x73, 0x74, 0x79, 0x6C, 0x65, 0x2E, 0x63, 0x73, 0x73, 0x22, 0x3E, -0x3C, 0x2F, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x64, -0x69, 0x76, 0x20, 0x69, 0x64, 0x3D, 0x22, 0x6D, 0x61, 0x69, 0x6E, 0x22, 0x3E, 0x3C, 0x68, -0x31, 0x3E, 0x46, 0x49, 0x52, 0x4D, 0x57, 0x41, 0x52, 0x45, 0x20, 0x55, 0x50, 0x47, 0x52, -0x41, 0x44, 0x45, 0x3C, 0x2F, 0x68, 0x31, 0x3E, 0x3C, 0x70, 0x3E, 0x59, 0x6F, 0x75, 0x20, -0x61, 0x72, 0x65, 0x20, 0x67, 0x6F, 0x69, 0x6E, 0x67, 0x20, 0x74, 0x6F, 0x20, 0x75, 0x70, -0x6C, 0x6F, 0x61, 0x64, 0x20, 0x6E, 0x65, 0x77, 0x20, 0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, -0x72, 0x65, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x20, 0x74, 0x68, -0x65, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x2E, 0x20, 0x50, 0x6C, 0x65, 0x61, 0x73, -0x65, 0x2C, 0x20, 0x63, 0x68, 0x6F, 0x6F, 0x73, 0x65, 0x20, 0x61, 0x70, 0x70, 0x72, 0x6F, -0x70, 0x72, 0x69, 0x61, 0x74, 0x65, 0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x66, 0x72, 0x6F, -0x6D, 0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, 0x6C, 0x6F, 0x63, 0x61, 0x6C, 0x20, 0x68, 0x61, -0x72, 0x64, 0x20, 0x64, 0x72, 0x69, 0x76, 0x65, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x63, 0x6C, -0x69, 0x63, 0x6B, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x55, 0x70, 0x6C, -0x6F, 0x61, 0x64, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, 0x3C, 0x62, -0x72, 0x2F, 0x3E, 0x54, 0x68, 0x65, 0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x77, 0x69, 0x6C, -0x6C, 0x20, 0x62, 0x65, 0x20, 0x64, 0x6F, 0x77, 0x6E, 0x6C, 0x6F, 0x61, 0x64, 0x65, 0x64, -0x2C, 0x20, 0x73, 0x74, 0x6F, 0x72, 0x65, 0x64, 0x20, 0x69, 0x6E, 0x20, 0x3C, 0x73, 0x74, -0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x52, 0x41, 0x4D, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, -0x67, 0x3E, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x20, 0x63, 0x6F, 0x70, -0x69, 0x65, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, -0x46, 0x4C, 0x41, 0x53, 0x48, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, -0x20, 0x59, 0x6F, 0x75, 0x20, 0x63, 0x61, 0x6E, 0x20, 0x61, 0x6C, 0x73, 0x6F, 0x20, 0x75, -0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, -0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x75, 0x62, 0x6F, 0x6F, 0x74, 0x2E, -0x68, 0x74, 0x6D, 0x6C, 0x22, 0x3E, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x3C, 0x2F, 0x61, -0x3E, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x20, 0x61, 0x6E, 0x64, 0x20, -0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, -0x3D, 0x22, 0x61, 0x72, 0x74, 0x2E, 0x68, 0x74, 0x6D, 0x6C, 0x22, 0x3E, 0x41, 0x52, 0x54, -0x3C, 0x2F, 0x61, 0x3E, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, 0x3C, -0x2F, 0x70, 0x3E, 0x3C, 0x66, 0x6F, 0x72, 0x6D, 0x20, 0x6D, 0x65, 0x74, 0x68, 0x6F, 0x64, -0x3D, 0x22, 0x70, 0x6F, 0x73, 0x74, 0x22, 0x20, 0x65, 0x6E, 0x63, 0x74, 0x79, 0x70, 0x65, -0x3D, 0x22, 0x6D, 0x75, 0x6C, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x2F, 0x66, 0x6F, 0x72, -0x6D, 0x2D, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, -0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x70, 0x61, 0x64, 0x64, 0x22, 0x3E, 0x46, -0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x3A, 0x3C, -0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x69, 0x6E, 0x70, 0x75, 0x74, 0x20, -0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x66, 0x69, 0x6C, 0x65, 0x22, 0x20, 0x6E, 0x61, 0x6D, -0x65, 0x3D, 0x22, 0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65, 0x22, 0x3E, 0x3C, 0x69, -0x6E, 0x70, 0x75, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x73, 0x75, 0x62, 0x6D, -0x69, 0x74, 0x22, 0x20, 0x76, 0x61, 0x6C, 0x75, 0x65, 0x3D, 0x22, 0x55, 0x70, 0x6C, 0x6F, -0x61, 0x64, 0x22, 0x3E, 0x3C, 0x2F, 0x66, 0x6F, 0x72, 0x6D, 0x3E, 0x3C, 0x64, 0x69, 0x76, -0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x69, 0x6E, 0x66, 0x6F, 0x20, 0x77, 0x61, -0x72, 0x6E, 0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x57, 0x41, 0x52, -0x4E, 0x49, 0x4E, 0x47, 0x53, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, -0x75, 0x6C, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x64, 0x6F, 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x70, -0x6F, 0x77, 0x65, 0x72, 0x20, 0x6F, 0x66, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x65, -0x76, 0x69, 0x63, 0x65, 0x20, 0x64, 0x75, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x75, 0x70, 0x6C, -0x6F, 0x61, 0x64, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x69, 0x66, 0x20, -0x65, 0x76, 0x65, 0x72, 0x79, 0x74, 0x68, 0x69, 0x6E, 0x67, 0x20, 0x67, 0x6F, 0x65, 0x73, -0x20, 0x77, 0x65, 0x6C, 0x6C, 0x2C, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6F, 0x75, 0x74, -0x65, 0x72, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, -0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x72, 0x79, 0x20, 0x74, 0x6F, 0x20, 0x62, 0x6F, 0x6F, -0x74, 0x20, 0x6E, 0x65, 0x77, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, 0x72, 0x6F, -0x6D, 0x20, 0x46, 0x4C, 0x41, 0x53, 0x48, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x6C, 0x69, -0x3E, 0x69, 0x6E, 0x20, 0x63, 0x61, 0x73, 0x65, 0x20, 0x6F, 0x66, 0x20, 0x61, 0x6E, 0x79, -0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x20, 0x64, 0x75, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x6F, -0x72, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x75, -0x70, 0x6C, 0x6F, 0x61, 0x64, 0x2C, 0x20, 0x4C, 0x45, 0x44, 0x28, 0x73, 0x29, 0x20, 0x77, -0x69, 0x6C, 0x6C, 0x20, 0x62, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x66, 0x61, 0x73, 0x74, 0x20, -0x66, 0x6F, 0x72, 0x20, 0x61, 0x20, 0x77, 0x68, 0x69, 0x6C, 0x65, 0x20, 0x61, 0x6E, 0x64, -0x20, 0x74, 0x68, 0x65, 0x6E, 0x20, 0x74, 0x68, 0x65, 0x20, 0x77, 0x65, 0x62, 0x20, 0x66, -0x61, 0x69, 0x6C, 0x73, 0x61, 0x66, 0x65, 0x20, 0x6D, 0x6F, 0x64, 0x65, 0x20, 0x77, 0x69, -0x6C, 0x6C, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, -0x3C, 0x6C, 0x69, 0x3E, 0x79, 0x6F, 0x75, 0x20, 0x63, 0x61, 0x6E, 0x20, 0x75, 0x70, 0x6C, -0x6F, 0x61, 0x64, 0x20, 0x77, 0x68, 0x61, 0x74, 0x65, 0x76, 0x65, 0x72, 0x20, 0x79, 0x6F, -0x75, 0x20, 0x77, 0x61, 0x6E, 0x74, 0x2C, 0x20, 0x73, 0x6F, 0x20, 0x62, 0x65, 0x20, 0x73, -0x75, 0x72, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x79, 0x6F, 0x75, 0x20, 0x63, 0x68, -0x6F, 0x6F, 0x73, 0x65, 0x20, 0x70, 0x72, 0x6F, 0x70, 0x65, 0x72, 0x20, 0x66, 0x69, 0x72, -0x6D, 0x77, 0x61, 0x72, 0x65, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, 0x6F, 0x72, -0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x21, 0x3C, 0x2F, -0x6C, 0x69, 0x3E, 0x3C, 0x2F, 0x75, 0x6C, 0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, -0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, -0x3D, 0x22, 0x66, 0x6F, 0x6F, 0x74, 0x22, 0x3E, 0x59, 0x6F, 0x75, 0x20, 0x63, 0x61, 0x6E, -0x20, 0x66, 0x69, 0x6E, 0x64, 0x20, 0x6D, 0x6F, 0x72, 0x65, 0x20, 0x69, 0x6E, 0x66, 0x6F, -0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x61, 0x62, 0x6F, 0x75, 0x74, 0x20, 0x74, -0x68, 0x69, 0x73, 0x20, 0x70, 0x72, 0x6F, 0x6A, 0x65, 0x63, 0x74, 0x20, 0x6F, 0x6E, 0x20, -0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, -0x2F, 0x2F, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2E, 0x63, 0x6F, 0x6D, 0x2F, 0x70, 0x65, -0x70, 0x65, 0x32, 0x6B, 0x2F, 0x75, 0x2D, 0x62, 0x6F, 0x6F, 0x74, 0x5F, 0x6D, 0x6F, 0x64, -0x22, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x3D, 0x22, 0x5F, 0x62, 0x6C, 0x61, 0x6E, -0x6B, 0x22, 0x3E, 0x47, 0x69, 0x74, 0x48, 0x75, 0x62, 0x3C, 0x2F, 0x61, 0x3E, 0x2E, 0x3C, -0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x2F, 0x68, -0x74, 0x6D, 0x6C, 0x3E, 0 }; - - -static const char data_art_html[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4F, 0x4B, /* HTTP/1.0 200 OK */ -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, 0x65, /* Content-type: text/html; charset=UTF-8 */ -0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, -0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x3C, 0x21, 0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x48, 0x54, 0x4D, 0x4C, 0x3E, -0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x68, 0x65, 0x61, 0x64, 0x3E, 0x3C, 0x6D, 0x65, -0x74, 0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3D, 0x22, 0x75, 0x74, 0x66, -0x2D, 0x38, 0x22, 0x3E, 0x3C, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, 0x41, 0x52, 0x54, 0x20, -0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x3C, 0x2F, 0x74, 0x69, 0x74, 0x6C, 0x65, 0x3E, -0x3C, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x72, 0x65, 0x6C, 0x3D, 0x22, 0x73, 0x74, 0x79, 0x6C, -0x65, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x73, -0x74, 0x79, 0x6C, 0x65, 0x2E, 0x63, 0x73, 0x73, 0x22, 0x3E, 0x3C, 0x2F, 0x68, 0x65, 0x61, -0x64, 0x3E, 0x3C, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, -0x3D, 0x22, 0x6D, 0x61, 0x69, 0x6E, 0x22, 0x3E, 0x3C, 0x68, 0x31, 0x3E, 0x41, 0x52, 0x54, -0x20, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x45, 0x3C, 0x2F, 0x68, 0x31, 0x3E, 0x3C, 0x70, -0x3E, 0x59, 0x6F, 0x75, 0x20, 0x61, 0x72, 0x65, 0x20, 0x67, 0x6F, 0x69, 0x6E, 0x67, 0x20, -0x74, 0x6F, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x20, 0x6E, 0x65, 0x77, 0x20, 0x41, -0x52, 0x54, 0x20, 0x28, 0x41, 0x74, 0x68, 0x65, 0x72, 0x6F, 0x73, 0x20, 0x52, 0x61, 0x64, -0x69, 0x6F, 0x20, 0x54, 0x65, 0x73, 0x74, 0x29, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, -0x66, 0x6F, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x2E, -0x20, 0x50, 0x6C, 0x65, 0x61, 0x73, 0x65, 0x2C, 0x20, 0x63, 0x68, 0x6F, 0x6F, 0x73, 0x65, -0x20, 0x61, 0x70, 0x70, 0x72, 0x6F, 0x70, 0x72, 0x69, 0x61, 0x74, 0x65, 0x20, 0x66, 0x69, -0x6C, 0x65, 0x20, 0x66, 0x72, 0x6F, 0x6D, 0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, 0x6C, 0x6F, -0x63, 0x61, 0x6C, 0x20, 0x68, 0x61, 0x72, 0x64, 0x20, 0x64, 0x72, 0x69, 0x76, 0x65, 0x20, -0x61, 0x6E, 0x64, 0x20, 0x63, 0x6C, 0x69, 0x63, 0x6B, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, -0x6E, 0x67, 0x3E, 0x55, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, -0x6E, 0x67, 0x3E, 0x2E, 0x20, 0x54, 0x68, 0x65, 0x20, 0x66, 0x69, 0x6C, 0x65, 0x20, 0x77, -0x69, 0x6C, 0x6C, 0x20, 0x62, 0x65, 0x20, 0x64, 0x6F, 0x77, 0x6E, 0x6C, 0x6F, 0x61, 0x64, -0x65, 0x64, 0x2C, 0x20, 0x73, 0x74, 0x6F, 0x72, 0x65, 0x64, 0x20, 0x69, 0x6E, 0x20, 0x3C, -0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x52, 0x41, 0x4D, 0x3C, 0x2F, 0x73, 0x74, 0x72, -0x6F, 0x6E, 0x67, 0x3E, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x20, 0x63, -0x6F, 0x70, 0x69, 0x65, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, -0x67, 0x3E, 0x46, 0x4C, 0x41, 0x53, 0x48, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, -0x3E, 0x2E, 0x20, 0x59, 0x6F, 0x75, 0x20, 0x63, 0x61, 0x6E, 0x20, 0x61, 0x6C, 0x73, 0x6F, -0x20, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, -0x67, 0x3E, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x75, 0x62, 0x6F, 0x6F, -0x74, 0x2E, 0x68, 0x74, 0x6D, 0x6C, 0x22, 0x3E, 0x55, 0x2D, 0x42, 0x6F, 0x6F, 0x74, 0x3C, -0x2F, 0x61, 0x3E, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x20, 0x61, 0x6E, -0x64, 0x20, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x61, 0x20, 0x68, 0x72, -0x65, 0x66, 0x3D, 0x22, 0x69, 0x6E, 0x64, 0x65, 0x78, 0x2E, 0x68, 0x74, 0x6D, 0x6C, 0x22, -0x3E, 0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65, 0x3C, 0x2F, 0x61, 0x3E, 0x3C, 0x2F, -0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x2E, 0x3C, 0x2F, 0x70, 0x3E, 0x3C, 0x66, 0x6F, -0x72, 0x6D, 0x20, 0x6D, 0x65, 0x74, 0x68, 0x6F, 0x64, 0x3D, 0x22, 0x70, 0x6F, 0x73, 0x74, -0x22, 0x20, 0x65, 0x6E, 0x63, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x6D, 0x75, 0x6C, 0x74, -0x69, 0x70, 0x61, 0x72, 0x74, 0x2F, 0x66, 0x6F, 0x72, 0x6D, 0x2D, 0x64, 0x61, 0x74, 0x61, -0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x20, 0x63, 0x6C, 0x61, 0x73, 0x73, -0x3D, 0x22, 0x70, 0x61, 0x64, 0x64, 0x22, 0x3E, 0x41, 0x52, 0x54, 0x20, 0x69, 0x6D, 0x61, -0x67, 0x65, 0x3A, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x69, 0x6E, -0x70, 0x75, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x66, 0x69, 0x6C, 0x65, 0x22, -0x20, 0x6E, 0x61, 0x6D, 0x65, 0x3D, 0x22, 0x61, 0x72, 0x74, 0x22, 0x3E, 0x3C, 0x69, 0x6E, -0x70, 0x75, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3D, 0x22, 0x73, 0x75, 0x62, 0x6D, 0x69, -0x74, 0x22, 0x20, 0x76, 0x61, 0x6C, 0x75, 0x65, 0x3D, 0x22, 0x55, 0x70, 0x6C, 0x6F, 0x61, -0x64, 0x22, 0x3E, 0x3C, 0x2F, 0x66, 0x6F, 0x72, 0x6D, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, -0x63, 0x6C, 0x61, 0x73, 0x73, 0x3D, 0x22, 0x69, 0x6E, 0x66, 0x6F, 0x20, 0x77, 0x61, 0x72, -0x6E, 0x22, 0x3E, 0x3C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x57, 0x41, 0x52, 0x4E, -0x49, 0x4E, 0x47, 0x53, 0x3C, 0x2F, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x3E, 0x3C, 0x75, -0x6C, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x64, 0x6F, 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x70, 0x6F, -0x77, 0x65, 0x72, 0x20, 0x6F, 0x66, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x65, 0x76, -0x69, 0x63, 0x65, 0x20, 0x64, 0x75, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x75, 0x70, 0x6C, 0x6F, -0x61, 0x64, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x69, 0x66, 0x20, 0x65, -0x76, 0x65, 0x72, 0x79, 0x74, 0x68, 0x69, 0x6E, 0x67, 0x20, 0x67, 0x6F, 0x65, 0x73, 0x20, -0x77, 0x65, 0x6C, 0x6C, 0x2C, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, -0x72, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3C, -0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x69, 0x6E, 0x20, 0x63, 0x61, 0x73, 0x65, -0x20, 0x6F, 0x66, 0x20, 0x61, 0x6E, 0x79, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x20, 0x64, -0x75, 0x72, 0x69, 0x6E, 0x67, 0x20, 0x6F, 0x72, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, -0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x2C, 0x20, 0x4C, -0x45, 0x44, 0x28, 0x73, 0x29, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x62, 0x6C, 0x69, 0x6E, -0x6B, 0x20, 0x66, 0x61, 0x73, 0x74, 0x20, 0x66, 0x6F, 0x72, 0x20, 0x61, 0x20, 0x77, 0x68, -0x69, 0x6C, 0x65, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x68, 0x65, 0x6E, 0x20, 0x74, 0x68, -0x65, 0x20, 0x77, 0x65, 0x62, 0x20, 0x66, 0x61, 0x69, 0x6C, 0x73, 0x61, 0x66, 0x65, 0x20, -0x6D, 0x6F, 0x64, 0x65, 0x20, 0x77, 0x69, 0x6C, 0x6C, 0x20, 0x72, 0x65, 0x73, 0x74, 0x61, -0x72, 0x74, 0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x6C, 0x69, 0x3E, 0x79, 0x6F, 0x75, 0x20, -0x63, 0x61, 0x6E, 0x20, 0x75, 0x70, 0x6C, 0x6F, 0x61, 0x64, 0x20, 0x77, 0x68, 0x61, 0x74, -0x65, 0x76, 0x65, 0x72, 0x20, 0x79, 0x6F, 0x75, 0x20, 0x77, 0x61, 0x6E, 0x74, 0x2C, 0x20, -0x73, 0x6F, 0x20, 0x62, 0x65, 0x20, 0x73, 0x75, 0x72, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, -0x20, 0x79, 0x6F, 0x75, 0x20, 0x63, 0x68, 0x6F, 0x6F, 0x73, 0x65, 0x20, 0x70, 0x72, 0x6F, -0x70, 0x65, 0x72, 0x20, 0x41, 0x52, 0x54, 0x20, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x20, 0x66, -0x6F, 0x72, 0x20, 0x79, 0x6F, 0x75, 0x72, 0x20, 0x72, 0x6F, 0x75, 0x74, 0x65, 0x72, 0x21, -0x3C, 0x2F, 0x6C, 0x69, 0x3E, 0x3C, 0x2F, 0x75, 0x6C, 0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, -0x3E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6C, 0x61, -0x73, 0x73, 0x3D, 0x22, 0x66, 0x6F, 0x6F, 0x74, 0x22, 0x3E, 0x59, 0x6F, 0x75, 0x20, 0x63, -0x61, 0x6E, 0x20, 0x66, 0x69, 0x6E, 0x64, 0x20, 0x6D, 0x6F, 0x72, 0x65, 0x20, 0x69, 0x6E, -0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x61, 0x62, 0x6F, 0x75, 0x74, -0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x70, 0x72, 0x6F, 0x6A, 0x65, 0x63, 0x74, 0x20, 0x6F, -0x6E, 0x20, 0x3C, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3D, 0x22, 0x68, 0x74, 0x74, 0x70, -0x73, 0x3A, 0x2F, 0x2F, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2E, 0x63, 0x6F, 0x6D, 0x2F, -0x70, 0x65, 0x70, 0x65, 0x32, 0x6B, 0x2F, 0x75, 0x2D, 0x62, 0x6F, 0x6F, 0x74, 0x5F, 0x6D, -0x6F, 0x64, 0x22, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x3D, 0x22, 0x5F, 0x62, 0x6C, -0x61, 0x6E, 0x6B, 0x22, 0x3E, 0x47, 0x69, 0x74, 0x48, 0x75, 0x62, 0x3C, 0x2F, 0x61, 0x3E, -0x2E, 0x3C, 0x2F, 0x64, 0x69, 0x76, 0x3E, 0x3C, 0x2F, 0x62, 0x6F, 0x64, 0x79, 0x3E, 0x3C, -0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0 }; - -static const char data_style_css[] = { -0x48, 0x54, 0x54, 0x50, 0x2F, 0x31, 0x2E, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4F, 0x4B, /* HTTP/1.0 200 OK */ -0x0D, 0x0A, /* CR LF */ -0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3A, 0x20, 0x75, 0x49, 0x50, 0x2F, 0x30, 0x2E, 0x39, /* Server: uIP/0.9 */ -0x0D, 0x0A, /* CR LF */ -0x43, 0x6F, 0x6E, 0x74, 0x65, 0x6E, 0x74, 0x2D, 0x74, 0x79, 0x70, 0x65, 0x3A, 0x20, 0x74, /* Content-type: text/css; charset=UTF-8 */ -0x65, 0x78, 0x74, 0x2F, 0x63, 0x73, 0x73, 0x3B, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, -0x74, 0x3D, 0x55, 0x54, 0x46, 0x2D, 0x38, -0x0D, 0x0A, /* CR LF */ -0x0D, 0x0A, /* CR LF */ -0x68, 0x74, 0x6D, 0x6C, 0x2C, 0x62, 0x6F, 0x64, 0x79, 0x2C, 0x64, 0x69, 0x76, 0x2C, 0x68, -0x31, 0x2C, 0x61, 0x2C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x2C, 0x70, 0x2C, 0x66, 0x6F, -0x72, 0x6D, 0x2C, 0x75, 0x6C, 0x2C, 0x6C, 0x69, 0x7B, 0x62, 0x6F, 0x72, 0x64, 0x65, 0x72, -0x3A, 0x30, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, 0x31, 0x30, -0x30, 0x25, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x3A, 0x69, 0x6E, 0x68, 0x65, 0x72, 0x69, 0x74, -0x3B, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, 0x2D, 0x61, 0x6C, 0x69, 0x67, 0x6E, -0x3A, 0x62, 0x61, 0x73, 0x65, 0x6C, 0x69, 0x6E, 0x65, 0x3B, 0x6D, 0x61, 0x72, 0x67, 0x69, -0x6E, 0x3A, 0x30, 0x3B, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x3A, 0x30, 0x7D, 0x75, -0x6C, 0x7B, 0x6C, 0x69, 0x73, 0x74, 0x2D, 0x73, 0x74, 0x79, 0x6C, 0x65, 0x3A, 0x73, 0x71, -0x75, 0x61, 0x72, 0x65, 0x3B, 0x20, 0x6D, 0x61, 0x72, 0x67, 0x69, 0x6E, 0x3A, 0x20, 0x30, -0x20, 0x30, 0x20, 0x30, 0x20, 0x32, 0x30, 0x70, 0x78, 0x7D, 0x2E, 0x69, 0x6E, 0x66, 0x6F, -0x20, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x7B, 0x6D, 0x61, 0x72, 0x67, 0x69, 0x6E, 0x3A, -0x20, 0x30, 0x20, 0x30, 0x20, 0x31, 0x30, 0x70, 0x78, 0x3B, 0x64, 0x69, 0x73, 0x70, 0x6C, -0x61, 0x79, 0x3A, 0x62, 0x6C, 0x6F, 0x63, 0x6B, 0x7D, 0x62, 0x6F, 0x64, 0x79, 0x7B, 0x66, -0x6F, 0x6E, 0x74, 0x2D, 0x66, 0x61, 0x6D, 0x69, 0x6C, 0x79, 0x3A, 0x41, 0x72, 0x69, 0x61, -0x6C, 0x2C, 0x73, 0x61, 0x6E, 0x73, 0x2D, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3B, 0x66, 0x6F, -0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, 0x20, 0x31, 0x35, 0x70, 0x78, 0x3B, 0x6C, -0x69, 0x6E, 0x65, 0x2D, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3A, 0x31, 0x2E, 0x36, 0x65, -0x6D, 0x3B, 0x62, 0x61, 0x63, 0x6B, 0x67, 0x72, 0x6F, 0x75, 0x6E, 0x64, 0x3A, 0x23, 0x46, -0x35, 0x46, 0x35, 0x46, 0x35, 0x7D, 0x23, 0x6D, 0x61, 0x69, 0x6E, 0x7B, 0x77, 0x69, 0x64, -0x74, 0x68, 0x3A, 0x31, 0x30, 0x30, 0x30, 0x70, 0x78, 0x3B, 0x6D, 0x61, 0x72, 0x67, 0x69, -0x6E, 0x3A, 0x33, 0x30, 0x70, 0x78, 0x20, 0x61, 0x75, 0x74, 0x6F, 0x20, 0x30, 0x3B, 0x70, -0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x3A, 0x33, 0x30, 0x70, 0x78, 0x3B, 0x62, 0x61, 0x63, -0x6B, 0x67, 0x72, 0x6F, 0x75, 0x6E, 0x64, 0x3A, 0x23, 0x46, 0x46, 0x46, 0x3B, 0x62, 0x6F, -0x72, 0x64, 0x65, 0x72, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, 0x31, 0x70, 0x78, 0x20, -0x23, 0x44, 0x32, 0x44, 0x32, 0x44, 0x32, 0x3B, 0x62, 0x6F, 0x78, 0x2D, 0x73, 0x68, 0x61, -0x64, 0x6F, 0x77, 0x3A, 0x20, 0x30, 0x20, 0x30, 0x20, 0x37, 0x70, 0x78, 0x20, 0x23, 0x45, -0x41, 0x45, 0x41, 0x45, 0x41, 0x7D, 0x23, 0x6D, 0x61, 0x69, 0x6E, 0x20, 0x3E, 0x20, 0x2A, -0x3A, 0x6E, 0x6F, 0x74, 0x28, 0x3A, 0x6C, 0x61, 0x73, 0x74, 0x2D, 0x63, 0x68, 0x69, 0x6C, -0x64, 0x29, 0x7B, 0x6D, 0x61, 0x72, 0x67, 0x69, 0x6E, 0x3A, 0x20, 0x30, 0x20, 0x30, 0x20, -0x33, 0x30, 0x70, 0x78, 0x7D, 0x68, 0x31, 0x2C, 0x73, 0x74, 0x72, 0x6F, 0x6E, 0x67, 0x7B, -0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3A, 0x62, 0x6F, 0x6C, -0x64, 0x7D, 0x68, 0x31, 0x7B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x66, 0x61, 0x6D, 0x69, 0x6C, -0x79, 0x3A, 0x54, 0x61, 0x68, 0x6F, 0x6D, 0x61, 0x2C, 0x73, 0x61, 0x6E, 0x73, 0x2D, 0x73, -0x65, 0x72, 0x69, 0x66, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, -0x20, 0x34, 0x35, 0x70, 0x78, 0x3B, 0x63, 0x6F, 0x6C, 0x6F, 0x72, 0x3A, 0x23, 0x30, 0x42, -0x35, 0x46, 0x43, 0x35, 0x3B, 0x6C, 0x69, 0x6E, 0x65, 0x2D, 0x68, 0x65, 0x69, 0x67, 0x68, -0x74, 0x3A, 0x31, 0x65, 0x6D, 0x3B, 0x62, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x2D, 0x62, 0x6F, -0x74, 0x74, 0x6F, 0x6D, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, 0x33, 0x70, 0x78, 0x3B, -0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x2D, 0x62, 0x6F, 0x74, 0x74, 0x6F, 0x6D, 0x3A, -0x35, 0x70, 0x78, 0x7D, 0x68, 0x31, 0x2E, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x7B, 0x63, 0x6F, -0x6C, 0x6F, 0x72, 0x3A, 0x20, 0x23, 0x46, 0x32, 0x31, 0x43, 0x31, 0x43, 0x7D, 0x61, 0x7B, -0x63, 0x6F, 0x6C, 0x6F, 0x72, 0x3A, 0x23, 0x30, 0x42, 0x35, 0x46, 0x43, 0x35, 0x3B, 0x74, -0x65, 0x78, 0x74, 0x2D, 0x64, 0x65, 0x63, 0x6F, 0x72, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x3A, -0x6E, 0x6F, 0x6E, 0x65, 0x7D, 0x2E, 0x69, 0x6E, 0x66, 0x6F, 0x7B, 0x70, 0x61, 0x64, 0x64, -0x69, 0x6E, 0x67, 0x3A, 0x20, 0x31, 0x30, 0x70, 0x78, 0x3B, 0x66, 0x6F, 0x6E, 0x74, 0x2D, -0x73, 0x69, 0x7A, 0x65, 0x3A, 0x20, 0x31, 0x33, 0x70, 0x78, 0x3B, 0x6C, 0x69, 0x6E, 0x65, -0x2D, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3A, 0x31, 0x2E, 0x35, 0x65, 0x6D, 0x7D, 0x2E, -0x69, 0x6E, 0x66, 0x6F, 0x2E, 0x77, 0x61, 0x72, 0x6E, 0x7B, 0x62, 0x61, 0x63, 0x6B, 0x67, -0x72, 0x6F, 0x75, 0x6E, 0x64, 0x3A, 0x20, 0x23, 0x46, 0x46, 0x46, 0x45, 0x45, 0x38, 0x3B, -0x62, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, 0x31, 0x70, -0x78, 0x20, 0x23, 0x46, 0x46, 0x44, 0x36, 0x39, 0x39, 0x7D, 0x2E, 0x69, 0x6E, 0x66, 0x6F, -0x2E, 0x65, 0x72, 0x72, 0x6F, 0x72, 0x7B, 0x62, 0x61, 0x63, 0x6B, 0x67, 0x72, 0x6F, 0x75, -0x6E, 0x64, 0x3A, 0x20, 0x23, 0x46, 0x46, 0x45, 0x38, 0x45, 0x38, 0x3B, 0x62, 0x6F, 0x72, -0x64, 0x65, 0x72, 0x3A, 0x73, 0x6F, 0x6C, 0x69, 0x64, 0x20, 0x31, 0x70, 0x78, 0x20, 0x23, -0x46, 0x46, 0x36, 0x44, 0x36, 0x44, 0x7D, 0x2E, 0x66, 0x6F, 0x6F, 0x74, 0x7B, 0x6D, 0x61, -0x72, 0x67, 0x69, 0x6E, 0x3A, 0x31, 0x30, 0x70, 0x78, 0x20, 0x30, 0x3B, 0x74, 0x65, 0x78, -0x74, 0x2D, 0x61, 0x6C, 0x69, 0x67, 0x6E, 0x3A, 0x63, 0x65, 0x6E, 0x74, 0x65, 0x72, 0x3B, -0x66, 0x6F, 0x6E, 0x74, 0x2D, 0x73, 0x69, 0x7A, 0x65, 0x3A, 0x31, 0x31, 0x70, 0x78, 0x3B, -0x63, 0x6F, 0x6C, 0x6F, 0x72, 0x3A, 0x23, 0x36, 0x32, 0x36, 0x32, 0x36, 0x32, 0x7D, 0x73, -0x74, 0x72, 0x6F, 0x6E, 0x67, 0x2E, 0x70, 0x61, 0x64, 0x64, 0x7B, 0x6D, 0x61, 0x72, 0x67, -0x69, 0x6E, 0x2D, 0x72, 0x69, 0x67, 0x68, 0x74, 0x3A, 0x33, 0x30, 0x70, 0x78, 0x7D, 0 }; - -const struct fsdata_file file_fail_html[] = {{ - NULL, - "/fail.html", - data_fail_html, - (int) sizeof(data_fail_html) - 1 -}}; - -const struct fsdata_file file_flashing_html[] = {{ - file_fail_html, - "/flashing.html", - data_flashing_html, - (int) sizeof(data_flashing_html) - 1 -}}; - -const struct fsdata_file file_uboot_html[] = {{ - file_flashing_html, - "/uboot.html", - data_uboot_html, - (int) sizeof(data_uboot_html) - 1 -}}; - -const struct fsdata_file file_art_html[] = {{ - file_uboot_html, - "/art.html", - data_art_html, - (int) sizeof(data_art_html) - 1 -}}; - -const struct fsdata_file file_index_html[] = {{ - file_art_html, - "/index.html", - data_index_html, - (int) sizeof(data_index_html) - 1 -}}; - -const struct fsdata_file file_404_html[] = {{ - file_index_html, - "/404.html", - data_404_html, - (int) sizeof(data_404_html) - 1 -}}; - -const struct fsdata_file file_style_css[] = {{ - file_404_html, - "/style.css", - data_style_css, - (int) sizeof(data_style_css) - 1 -}}; - -#define FS_ROOT file_style_css -#define FS_NUMFILES 7 diff --git a/u-boot/httpd/vendors/makefsdatac b/u-boot/httpd/vendors/makefsdatac index 9a231c6..eac4798 100755 --- a/u-boot/httpd/vendors/makefsdatac +++ b/u-boot/httpd/vendors/makefsdatac @@ -25,11 +25,11 @@ vendor_dir=${1:-general} # Temporary files -files_content_tmp=".files_content" -files_list_tmp=".files_list" +files_content_tmp="vendors/.files_content" +files_list_tmp="vendors/.files_list" # YUI Compressor path (should be in the same dir) -yui_compressor=`ls -t *.jar 2> /dev/null | tail --lines=1` +yui_compressor=`ls -t vendors/*.jar 2> /dev/null | tail --lines=1` # Previous fsdata_file var name prev_fsdata_struct="NULL" @@ -115,16 +115,16 @@ function print_data_struct() { # === Main loop === -if [ -d "$vendor_dir" ]; then # If vendor dir exists +if [ -d vendors/"$vendor_dir" ]; then # If vendor dir exists # Remove old fsdata.c - if [ -a "../fsdata.c" ]; then - `rm "../fsdata.c"` + if [ -a "fsdata.c" ]; then + `rm "fsdata.c"` fi `touch "$files_content_tmp" "$files_list_tmp"` # Loop through all files in vendor dir - for file in "$vendor_dir"/*; do # For all found files + for file in vendors/"$vendor_dir"/*; do # For all found files print_data_array $file print_data_struct $file files_counter=$((files_counter+1)) @@ -135,12 +135,12 @@ if [ -d "$vendor_dir" ]; then # If vendor dir exists `echo "#define FS_NUMFILES "$files_counter"" >> "$files_list_tmp"` # Generate new fsdata.c - `touch "../fsdata.c"` + `touch "fsdata.c"` - `cat "$files_content_tmp" > "../fsdata.c"` - `cat "$files_list_tmp" >> "../fsdata.c"` + `cat "$files_content_tmp" > "fsdata.c"` + `cat "$files_list_tmp" >> "fsdata.c"` `rm "$files_content_tmp" "$files_list_tmp"` else - echo "Error! Vendor specific directory doesn't exist!" + echo "Error! Vendor specific directory (vendors/"$vendor_dir") doesn't exist!" fi