From 1e25e241d274da8f60fe1029f97bec01ffaee935 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Sat, 11 Nov 2023 08:39:13 +0800 Subject: [PATCH] up_addrenv_text_enable_write failed: -22 --- arch/risc-v/src/jh7110/jh7110_start.c | 324 +++++++++++++------------- 1 file changed, 162 insertions(+), 162 deletions(-) diff --git a/arch/risc-v/src/jh7110/jh7110_start.c b/arch/risc-v/src/jh7110/jh7110_start.c index aa52f762794ca..0518d15b1be46 100644 --- a/arch/risc-v/src/jh7110/jh7110_start.c +++ b/arch/risc-v/src/jh7110/jh7110_start.c @@ -275,171 +275,171 @@ const uint32_t search_addr[] = 905626, 962939, 963865, -1037567, -1101946, -1103297, -1104542, -1105774, -1107121, -1108339, -1109617, -1111173, -1112696, -1114103, -1115510, -1116689, -1117945, -1130677, -1164598, -1164619, -1164977, -1252233, -1253867, -1254889, -1256085, -1257312, -1258427, -1259610, -1260855, -1262143, -1263394, -1265439, -1266357, -1267576, -1269252, -1270691, -1271914, -1273231, -1274536, -1276032, -1277536, -1278734, -1280036, -1281255, -1282447, -1283620, -1284739, -1285849, -1287899, -1288986, -1290163, -1291388, -1292559, -1293736, -1304010, -1352739, -1386719, -1389576, -1839794, -2343673, -2734505, -2877449, -2943582, -2944398, -3093569, -3127373, -3127421, -3179130, -3188633, -3228929, -3241025, -3708930, -3956573, -3956621, -3986249, -4114697, -4242101, -4270145, -4350971, -4351897, -4421558, -4481221, -4482572, -4483817, -4485049, -4486396, -4487897, -4489420, -4490827, -4492234, -4493413, -4494669, -4507446, -4541367, -4541388, -4541746, -4637364, -4638998, -4640020, -4641216, -4642443, -4643558, -4644741, -4645986, -4647274, -4648525, -4650570, -4651488, -4652707, -4654383, -4655822, -4657045, -4658362, -4659667, -4661163, -4662667, -4663865, -4665167, -4666386, -4667605, -4668851, -4670024, -4671143, -4672253, -4674303, -4675390, -4676567, -4677792, -4678963, -4680140, -4726672, -4760652, -4763509, -4787788, -5361481, -5542002, -5550474, -5556865, -6111530, -6113721, -6337414, -6340342, -6442665, -6558441, +1037559, +1101938, +1103289, +1104534, +1105766, +1107113, +1108331, +1109609, +1111165, +1112688, +1114095, +1115502, +1116681, +1117937, +1130669, +1164590, +1164611, +1164969, +1252225, +1253859, +1254881, +1256077, +1257304, +1258419, +1259602, +1260847, +1262135, +1263386, +1265431, +1266349, +1267568, +1269244, +1270683, +1271906, +1273223, +1274528, +1276024, +1277528, +1278726, +1280028, +1281247, +1282439, +1283612, +1284731, +1285841, +1287891, +1288978, +1290155, +1291380, +1292551, +1293728, +1304002, +1352731, +1386711, +1389568, +1839786, +2343665, +2734497, +2877441, +2943574, +2944390, +3093561, +3127365, +3127413, +3179122, +3188625, +3228921, +3241017, +3708922, +3956565, +3956613, +3986241, +4114689, +4242093, +4270137, +4350955, +4351881, +4421534, +4481197, +4482548, +4483793, +4485025, +4486372, +4487873, +4489396, +4490803, +4492210, +4493389, +4494645, +4507422, +4541343, +4541364, +4541722, +4637340, +4638974, +4639996, +4641192, +4642419, +4643534, +4644717, +4645962, +4647250, +4648501, +4650546, +4651464, +4652683, +4654359, +4655798, +4657021, +4658338, +4659643, +4661139, +4662643, +4663841, +4665143, +4666362, +4667581, +4668827, +4670000, +4671119, +4672229, +4674279, +4675366, +4676543, +4677768, +4678939, +4680116, +4726648, +4760628, +4763485, +4787764, +5361457, +5541978, +5550450, +5556841, +6111506, +6113697, +6337390, +6340318, +6442641, +6558417, +6809673, 6809697, -6809721, +6825118, 6825142, -6825166, -6826798, +6826774, +7479285, 7479309, -7479333, -7533585, -7672939, -7716766, -7718117, -7719362, -7720594, -7721735, -7723247, -7724748, -7726271, -7727678, -7729085, -7730264, -7731520, -7985194, -7988913, -7992730, +7533561, +7672915, +7716750, +7718101, +7719346, +7720578, +7721719, +7723231, +7724732, +7726255, +7727662, +7729069, +7730248, +7731504, +7985178, +7988897, +7992714, }; static void verify_image(uint8_t *addr)