Hosung Kim 5de69b4ede target: tizenrt-artik053: Update porting
- rename artik05x to artik053
- fix to add library for jerryscript
- add rom patch for artik053
- enable jerry cmd in tizenrt
- change to absolute file path when loading file with jerry cmd
- update README.md and config file

JerryScript-DCO-1.0-Signed-off-by: Hosung Kim hs852.kim@samsung.com
2017-08-22 17:26:54 +09:00

42 lines
1.5 KiB
Diff

diff --git apps/system/init/init.c apps/system/init/init.c
index 5d5e360..430e2f5 100644
--- apps/system/init/init.c
+++ apps/system/init/init.c
@@ -130,6 +130,10 @@ int preapp_start(int argc, char *argv[])
}
#endif
+#ifdef CONFIG_FS_ROMFS
+ mount("/dev/smart4rom9", "/rom", "romfs", 0, NULL);
+#endif
+
#if defined(CONFIG_LIB_USRWORK) || defined(CONFIG_TASH)
error_out:
return pid;
diff --git build/configs/artik053/artik053_download.sh build/configs/artik053/artik053_download.sh
index 711d131..7f8eee0 100755
--- build/configs/artik053/artik053_download.sh
+++ build/configs/artik053/artik053_download.sh
@@ -72,6 +72,7 @@ main()
flash_write sssfw ../../bin/sssfw.bin; \
flash_write wlanfw ../../bin/wlanfw.bin; \
flash_write os ../../../../output/bin/tinyara_head.bin; \
+ flash_write rom ../../../../output/bin/rom.img; \
exit'
popd
;;
diff --git build/configs/artik053/tools/openocd/partition_map.cfg build/configs/artik053/tools/openocd/partition_map.cfg
index 10455a4..8f66487 100644
--- build/configs/artik053/tools/openocd/partition_map.cfg
+++ build/configs/artik053/tools/openocd/partition_map.cfg
@@ -11,7 +11,8 @@ set partition_list {
os { "OS" 0x040C8000 0x00258000 0 }
factory { "Factory Reset" 0x04320000 0x00180000 0 }
ota { "OTA download" 0x044A0000 0x00180000 0 }
- user { "USER R/W" 0x04620000 0x0015E000 0 }
+ user { "USER R/W" 0x04620000 0x000FA000 0 }
+ rom { "ROM FS" 0x0471A000 0x00064000 0 }
nvram { "WiFi NVRAM" 0x0477E000 0x00002000 1 }
sssrw { "SSS R/W Key" 0x04780000 0x00080000 1 }
}