Skip to content

Instantly share code, notes, and snippets.

@TomKing062
TomKing062 / ddrc
Last active November 29, 2025 08:43
compile_chipram
ddrc/rxp0: sprd ip
r1p0:sharkl3 9863a
r1p1:roc1 ud710
r1p1_orca:orca udx710
r2p0:sharkl5 ums312
r2p2:sharkl5pro ums512
r2p3:sharkl6/qogirl6 ums9230
r3p1:sharkl6pro/qogirn6pro ums9620
r3p3:qogirn6lite ums9621
#include <stdio.h>
#include <libxml/parser.h>
// A function to print the name and ID of a NVItem node
void print_NVItem(xmlNode *node) {
xmlNode *cur;
xmlChar *name;
xmlChar *id;
// Get the name attribute of the node
name = xmlGetProp(node, (const xmlChar *)"name");